In the following automated translation corresponding to the attached, I'm puzzled why groups need to be compared to its average multiple times, couldn't
(n
Σ
i=1)
be replaced by a leading 'n' and 'i's removed, making
SSE =
n(k
Σ
j=1)
(y˅j - y bar˅j)^2
?
Thank you kindly
3.1 Variance decomposition
3.1.1 Sums of squares
[...]
We calculate the sum of squared errors (SSE):
SSE =
(k
Σ
j=1)
(n
Σ
i=1)
(y˅ij - y bar˅j)^2
where y˅ij corresponds to the i^th observation of group j and y bar˅j is the mean of group j. This sum of squares compares each observation to the mean of its respective group. We obtain the degrees of freedom with df = k(n - 1), where k corresponds to the number of groups and n corresponds to the number of observations in each group.