One-Way ANOVA

 < Day Day Up > 



When you are planning to analyze data from more than two groups with a one-way ANOVA, you need to calculate your sample size and power accordingly. These computations are available, prospectively, for use in the planning stages of the study, using the Sample Size task. Retrospective calculations are available, for use in the analysis stage, from the One-Way ANOVA task. This section discusses the prospective computations available in the Analyst Application, which assume equally sized groups.

You must supply two quantities in order to produce these computations: the corrected sum of squares of means (CSS) and the standard deviation. CSS is calculated as

where

μg

=

mean of the gth group

μ.

=

overall mean

You must enter one or more values for the standard deviation, which in this case is the square root of the Mean Squared Error (MSE).

Requesting Power Computations for ANOVA

The following is an example of calculating the power for a one-way ANOVA with specified values of sample size. Suppose that you are comparing three groups, the overall mean is 5.5, and the group means are 4.5, 5.5, and 6.5. Therefore, the corrected sum of squares of means (CSS) is

  • (4.5 - 5.5)2 + (5.5 - 5.5)2 + (6.5 - 5.5)2 = 2

The standard deviation is the square root of the MSE, which is 1.4142. You are interested in studying sample sizes that range from 6 to 20.

To perform these computations, select

Statistics Sample Size One-Way ANOVA...

Figure 12.13 displays the resulting dialog. For this analysis, you need to enter the number of treatments, or factor levels, the CSS of means, the standard deviation, and the alpha level.

click to expand
Figure 12.13: Sample Size Dialog for One-Way ANOVA

To produce power computations for the preceding problem, follow these steps:

  1. Select Power.

  2. Enter 3 for # of treatments:

  3. Enter 2 for CSS of means:

  4. Enter 1.4142 for Standard deviation:

  5. Enter 0.05 for Alpha:

  6. Enter 6, 20, and 1 for the fields N per group:, for From:, To:, and By:, respectively.

  7. Click OK to perform the analysis.

Figure 12.14 displays the completed dialog.

click to expand
Figure 12.14: Sample Size Dialog for One-Way ANOVA

Requested are power computations for sample sizes ranging from 6 to 20.

The results are displayed in Figure 12.15. Note that, to achieve a minimum of 80% power, 11 units per group would be needed.

click to expand
Figure 12.15: Results for Power Computations for One-Way ANOVA



 < Day Day Up > 



SAS Institute - The Analyst Application
The Analyst Application, Second Edition
ISBN: 158025991X
EAN: 2147483647
Year: 2003
Pages: 116

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net