powered by
Computes the sample size required to test a Cronbach reliability with desired power.
size.test.cronbach(alpha, pow, rel, r, h)
Returns the required sample size
alpha level for hypothesis test
desired power
reliability planning value
number of measurements
null hypothesis value of reliability
Bonett2015statpsych
size.test.cronbach(.05, .85, .80, 5, .7) # Should return: # Sample size # 139
Run the code above in your browser using DataLab