View source: R/average_power.R
average.power.oneway | R Documentation |
Compute average power of many one-way ANOVA tests
average.power.oneway(n, alpha, theta, k)
n |
per-group sample size (scalar) |
alpha |
p-value threshold (scalar) |
theta |
sum of ((group mean - overall mean)/stdev)^2 across all groups for each hypothesis test(vector) |
k |
the number of groups to be compared |
Average power estimate for multiple testing procedure
power.oneway
for more details about power calculation of one-way ANOVA
theta=rep(c(2,0),c(100,900));
average.power.oneway(n = 50, alpha = 0.05, theta = theta, k = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.