Within groups sums of squares

The within groups sums of squares in an ANOVA is the squared distance from the group mean.

Partitioning the within group sums of squares

Calculcation

Within groups sums of squares =