One-way ANOVA is used when you have a single categorical variable and a single continuous variable. It is called one-way ANOVA since there is only a single categorical variable. This chapter will also cover two-way ANOVA, which gets its name from the fact that it involves two categorical variables. This chapter does not go into depth about one-way nor two-way ANOVA as they can be viewed as general linear models with a single continuous dependent variable and one or two categorical independent variables. General linear models will be covered in the following chapter. The assumptions for using a one-way ANOVA are:
The overall variation, SST, can be broken into two parts:
| SST = | SSA + SSE | ||
| ∑
j=1k ∑
i=1nj
(xij - | ∑
j=1kn
j( | ||
The mean sum of squares for the among and error are MSA= and MSE=
,
respectively. If the statistic F =
is large then we reject the null hypothesis, where
large can be determined by the p-value in the computer output. As with the previous
chapters on hypothesis testing, if the p-value is less than α we reject the null hypothesis.
The concept is that if the variation among the groups is large relative to within the
groups then it is the result that at least one of the population means differs.
Figure ?? illustrates this concept. A typical one-way ANOVA table looks like
Table ??.
|
|
|
From ANOVA we can determine whether the population group means differ or not. We cannot determine which population means differ if they differ. There exist various post hoc tests to determine which population means differ among the groups. One common post hoc test used is called the Bonferoni test. The test is s multiple comparison test, comparing all possible combinations of the groups. To determine whether or not the population means of two groups differ using a Bonferoni test, we also use p-value. See Figures ?? and ?? for examples of Bonferoni test computer output.