Generally, when performing an ANOVA test, we want to know the power of the test with specific sample sizes, or the sample sizes at specified power levels. The PSS ANOVA1 X-Function can be used to calculate the power as well as sample size.
The algorithm for Power calculation.
We assume that each group has equal size. The formula of the Power calculation is given by
where
is distributed as the non-central
, the
quartile of the F-distribution with
and
degrees of freedom
is the degrees of freedom of the numerator
is the degrees of freedom of the denominator
is the number per groupi
is the number of groups
is the noncentrality parameter
is the mean of the ith group
is the overall mean
is estimated by the mean square error/math-6edc61472f77072704fc3735cc9e8684.png?v=0)
is the difference between the smallest group mean and the largest group mean.
is the largest group mean.
is the smallest group mean.