One-Factor Within Groups and Between Groups Variation
Decomposing total variation in a one-way ANOVA setting into between-groups and within-groups sums of squares.
Step 1 of 157%
Tutorial
Setup and Between-Groups Variation
In a one-factor (one-way) analysis of variance, we collect samples from groups and want to measure how variation in the data splits into variation between the group means and variation within each group. We use the following notation:
- = sample size of group
- = sample mean of group
- = the -th observation in group
- = total sample size
- = grand mean, the mean of all observations:
To measure how much the group means differ from one another, we compute the between-groups sum of squares:
Each group contributes a squared deviation of its mean from the grand mean, weighted by its sample size. A large indicates that the group means are spread far apart.
For instance, suppose three groups of size have means . The grand mean is
so