Partitioning the Sums of Squares (4 of 7)
If the sample sizes are equal then the formula can be simplified
somewhat:
SSB = nΣ(M
i - GM)²
For the example data,
M
1 = (3+5+3+5)/4 = 4
M
2 = (2+4+2+4)/4 = 3
M
3 = (2+1+3+2)/4 = 2
GM = 3
n = 4
SSB = 4[(4-3)² + (3-3)² + (2-3)²] =
8
Sum of Squares Error
The sum of squares error is the sum of the squared differences
between the individual scores and their group means. The formula for
sum of squares error (SSE) for designs with two groups has already
been given in the section on
confidence
interval on the difference between two independent means and in
testing
differences between two independent
means.
The SSE is computed separately for each of the groups in
the experiment and then summed.
SSE = SSE
1 +
SSE
2 + ... + SSE
a
SSE
1 = Σ(X - M
1)²
; SSE
2 = Σ(X - M
2)²
SSE
a = Σ(X - M
a)²
where M
1 is the mean of Group 1, M
2 is the mean
of Group 2, and M
a is the mean of Group a.