Description Usage Arguments References Examples
Power analysis for two-way, three-way and k-way ANOVA
1 |
n |
Sample size |
ndf |
Numerator degrees of freedom |
f |
Effect size |
ng |
Number of groups |
alpha |
Significance level |
power |
Statistical power |
Zhang, Z., & Yuan, K.-H. (2018). Practical Statistical Power Analysis Using Webpower and R (Eds). Granger, IN: ISDSA Press.
1 2 3 4 5 6 7 8 9 | ########## Chapter 6. two-way and three-way ANOVA #############
## Main effect of two-way ANOVA
wp.kanova(n=120, ndf=2, f=0.2, alph=0.05, ng=6)
## Interaction effect of two-way ANOVA
wp.kanova(n=120, ndf=2, f=0.4, alph=0.05, ng=6)
## Interaction effect of three-way ANOVA
wp.kanova(n=360, ndf=4, f=0.3, alph=0.05, ng=18)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.