Confidence interval for a 2-group proportion difference using inverse sampling
Source:R/statpsych3.R
ci.prop2.inv.Rd
Computes an approximate confidence interval for a population proportion difference when inverse sampling has been used. An approximate standard error is recovered from the confidence interval. With inverse sampling, the number of participants who have the attribute within group 1 (f1) and group 2 (f2) are predetermined, and sampling continues within each group until f1 and f2 attain their prespecified values. With inverse sampling, the sample sizes (n1 and n2) will not be known in advance.
Value
Returns a 1-row matrix. The columns are:
Estimate - estimate of proportion difference
SE - recovered standard error
LL - lower limit of confidence interval
UL - upper limit of confidence interval
References
Zou GY (2010). “Confidence interval estimation under inverse sampling.” Computational Statistics & Data Analysis, 54(1), 55–64. ISSN 0167-9473, doi:10.1016/j.csda.2005.05.007 .