wp.kanova: Power analysis for two-way, three-way and k-way ANOVA

Description Usage Arguments References Examples

Description

Power analysis for two-way, three-way and k-way ANOVA

Usage

1
wp.kanova(n = NULL, ndf = NULL, f = NULL, ng = NULL, alpha = 0.05, power = NULL)

Arguments

n

Sample size

ndf

Numerator degrees of freedom

f

Effect size

ng

Number of groups

alpha

Significance level

power

Statistical power

References

Zhang, Z., & Yuan, K.-H. (2018). Practical Statistical Power Analysis Using Webpower and R (Eds). Granger, IN: ISDSA Press.

Examples

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)

WebPower documentation built on May 1, 2019, 8:19 p.m.