R/statpsych2.R
size.ci.cronbach2.Rd
Computes the sample size required to estimate a difference in population Cronbach reliability coefficients with desired precision in a 2-group design.
size.ci.cronbach2(alpha, rel1, rel2, r, w)
alpha level for hypothesis test
group 1 reliability planning value
group 2 reliability planning value
number of measurements (items, raters)
desired confidence interval width
Returns the required sample size for each group
Bonett DG, Wright TA (2015). “Cronbach's alpha reliability: Interval estimation, hypothesis testing, and sample size planning.” Journal of Organizational Behavior, 36(1), 3--15. ISSN 08943796, doi:10.1002/job.1960 .
size.ci.cronbach2(.05, .85, .70, 8, .15)
#> Sample size per group
#> 180
# Should return:
# Sample size per group
# 180