powered by
Computes the sample size required to test a difference in population Cronbach reliability coefficients with desired power in a 2-group design.
size.test.cronbach2(alpha, pow, rel1, rel2, r)
Returns the required sample size for each group
alpha level for hypothesis test
desired power
reliability planning value for group 1
reliability planning value for group 2
number of measurements (items, raters)
Bonett2015statpsych
size.test.cronbach2(.05, .80, .85, .70, 8) # Should return: # Sample size per group # 77
Run the code above in your browser using DataLab