R/statpsych3.R
size.ci.lc.prop.bs.Rd
Computes the sample size in each group (assuming equal sample sizes) required to estimate a linear contrast of population proportions with desired confidence interval precision in a between-subjects design. Set the proportion planning values to .5 for a conservatively large sample size.
size.ci.lc.prop.bs(alpha, p, w, v)
alpha level for 1-alpha confidence
vector of proportion planning values
desired confidence interval width
vector of between-subjects contrast coefficients
Returns the required sample size for each group