Computes the sample size required to test a Cronbach reliability with desired power.
size.test.cronbach(alpha, pow, rel, r, h)
alpha level for hypothesis test
desired power
reliability planning value
number of measurements
null hypothesis value of reliability
Returns the required sample size
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.test.cronbach(.05, .85, .80, 5, .7)
#> Sample size
#> 139
# Should return:
# Sample size
# 139