powered by
Compute average power of many one-way ANOVA tests
average.power.oneway(n, alpha, theta, k)
Average power estimate for multiple testing procedure
per-group sample size (scalar)
p-value threshold (scalar)
sum of ((group mean - overall mean)/stdev)^2 across all groups for each hypothesis test(vector)
the number of groups to be compared
power.oneway for more details about power calculation of one-way ANOVA
power.oneway
theta=rep(c(2,0),c(100,900)); average.power.oneway(n = 50, alpha = 0.05, theta = theta, k = 2)
Run the code above in your browser using DataLab