R/statpsych3.R
ci.lc.prop.bs.Rd
Computes an adjusted Wald confidence interval for a linear contrast of population proportions in a between-subjects design.
ci.lc.prop.bs(alpha, f, n, v)
alpha level for 1-alpha confidence
vector of frequency counts of participants who have the attribute
vector of sample sizes
vector of between-subjects contrast coefficients
Returns a 1-row matrix. The columns are:
Estimate - adjusted estimate of proportion linear contrast
SE - adjusted standard error
z - z test statistic
p - two-sided p-value
LL - lower limit of the adjusted Wald confidence interval
UL - upper limit of the adjusted Wald confidence interval
Price RM, Bonett DG (2004). “An improved confidence interval for a linear function of binomial proportions.” Computational Statistics & Data Analysis, 45(3), 449--456. ISSN 01679473, doi:10.1016/S0167-9473(03)00007-0 .