One step in running an ANOVA is calculating the mean sum of squares (MS) for each term (or source of variation) in the model. I have been trying to get my head around what these MS are an estimate of. In other words, what property of the population are MS estimating and how do they relate to each other?
For example, consider a simple one-way ANOVA with A as a fixed factor. One would calculate:
- $MS_{\text{between}}$
- $MS_{\text{within}}$
- $MS_{\text{total}}$
Now, some texts/books I have consulted, state that the MS_between is a 'measure of the variance including both error and factor effects'. One book gives the following formulas $$ MS_\text{between} = (n \times \sigma^2_\text{between}) + \sigma^2_\text{within} $$ and $$ MS_\text{within} = \sigma^2_\text{within} $$
However, this would imply that $MS_\text{between}$ should always be a equal or larger than the $MS_\text{within}$. This is certainly not true. For example, the mean for each level of A could be equal which would leave $MS_\text{between}=0$.
But also, conceptually speaking, would the first equation not imply that $MS_\text{between} = MS_\text{total}$? After all, it seems to estimate total variance due to both random variation and effect A. And isn't this what MS_total is already estimating?
Questions:
- If $MS_{\text{between}}$ is a 'measure of the variance including both error and factor effects' why is it different from the $MS_{\text{total}}$?
- And why can $MS_{\text{between}}$ be smaller than $MS_{\text{within}}$ (given that $MS_{\text{within is a part of $MS_{\text{between}}$, as per the first formula above)
Any clarification would be greatly appreciated.