R/statpsych3.R
test.prop.bs.Rd
Computes a Pearson chi-square test for equal population proportions for a dichotomous response variable in a one-factor between-subjects design.
test.prop.bs(f, n)
vector of frequency counts of participants who have the attribute
vector of sample sizes
Returns a 1-row matrix. The columns are:
Chi-square - chi-square test statistic
df - degrees of freedom
p - p-value
Fleiss JL, Paik MC (2003). Statistical Methods for Rates and Proportions, 3rd edition. Wiley.