size.test.cronbach | R Documentation |
Computes the sample size required to test a Cronbach reliability with desired power.
size.test.cronbach(alpha, pow, rel, r, h)
alpha |
alpha level for hypothesis test |
pow |
desired power |
rel |
reliability planning value |
r |
number of measurements |
h |
null hypothesis value of reliability |
Returns the required sample size
Bonett2015statpsych
size.test.cronbach(.05, .85, .80, 5, .7)
# Should return:
# Sample size
# 139
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.