Analysis of Variance |
The One-Way ANOVA task enables you to perform an analysis of variance when you have a continuous dependent variable and a single classification variable.
For example, consider the data set on air quality (Air), described in the preceding section. Suppose you want to compare the ozone level corresponding to each of the three factory workshift periods.
Figure 10.4 defines the one-way ANOVA model.
Figure 10.4: One-Way ANOVA Dialog
You can click on the arrow next to Significance level: to select a significance level, or you can type in the desired value.
Figure 10.5 specifies Tukey's studentized range (HSD) means comparison test at the 0.05 significance level.
Figure 10.5: One-Way ANOVA: Means Dialog
Figure 10.6 displays the Plots dialog with the Box-&-whisker plot selected.
Figure 10.6: One-Way ANOVA: Plots Dialog
Click OK in the One-Way ANOVA dialog to perform the analysis.
Figure 10.7: One-Way ANOVA: Analysis Results
The R-square value, which follows the ANOVA table in Figure 10.7, represents the proportion of variability accounted for by the independent variable. Approximately 28% of the variability in the ozone level can be accounted for by differences between shifts.
Figure 10.8: One-Way ANOVA: Multiple Comparisons Results
Information detailing which particular means are different is available in the multiple comparison test, as displayed in Figure 10.8. The means comparison output provides the alpha value, error degrees of freedom, and error mean square.
In the "Tukey Grouping" table, means with the same letter are not significantly different. The analysis shows that the daytime shift is associated with ozone levels that are significantly different from the other two shifts. The early and late shifts cannot be statistically distinguished on the basis of mean ozone level.
Figure 10.9: One-Way ANOVA: Box-and-Whisker Plot
The box-and-whisker plot displayed in Figure 10.9 provides a graphical view of the multiple comparison results. The variance among the ozone levels may be unequal: subsequent analyses may include a test for homogeneity of variance or a transformation of the response variable, o3.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.