size.ci.etasqr | R Documentation |
Computes the sample size required to estimate an eta-squared coefficient in a one-way ANOVA with desired confidence interval precision. Set the planning value of eta-squared to 1/3 for a conservatively large sample size.
size.ci.etasqr(alpha, etasqr, groups, w)
alpha |
alpha level for 1-alpha confidence |
etasqr |
planning value of squared multiple correlation |
groups |
number of groups |
w |
desired confidence interval width |
Returns the total sample size requirement
size.ci.etasqr(.05, .333, 3, .2)
# Should return:
# Total sample size
# [1,] 189
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.