The Mean Square (MS) is a statistical measure used in analysis of variance (ANOVA) and regression. It represents the average variability, calculated by dividing the sum of squares (SS) by its corresponding degrees of freedom (df). Mean squares are essential for hypothesis testing, particularly when evaluating differences between groups or the explanatory power of regression models.
In ANOVA, the total variability in data is partitioned into components (e.g., between-group and within-group variation). By standardising sums of squares using degrees of freedom, mean squares provide comparable measures of variation. These values form the basis of the F-statistic, which tests whether observed differences are statistically significant.
Formula
\(
MS = \dfrac{SS}{df}
\)
Where:
Types of Mean Squares
\(
MS_B = \dfrac{SS_B}{df_B}
\)
\(
MS_W = \dfrac{SS_W}{df_W}
\)
Worked Example (One-Way ANOVA):
\(
MS_B = \dfrac{120}{3} = 40
\)
\(
MS_W = \dfrac{80}{16} = 5
\)
The F-statistic is:
\(
F = \dfrac{MS_B}{MS_W} = \dfrac{40}{5} = 8
\)
Mean squares standardise sums of squares by accounting for degrees of freedom, making them directly comparable. They are central to ANOVA and regression analysis, enabling researchers to test hypotheses, evaluate model fit, and interpret whether observed patterns are statistically meaningful.