Source of
Variation
DF
SS
MS
EMS
Patient
a − 1
S S A = ∑ i = 1 a n ( m i − M ) 2
M S A = S S A a − 1
n ∑ 2 + σ 2
Within
a (n − 1)
S S E = ∑ i a ∑ j = 1 n n ( x i j − m i ) 2
M S E = S S E a ( n − 1 )
σ 2
Total
an − 1
S S T = ∑ i a ∑ j = 1 n n ( x i j − M ) 2
M S T = S S T a n − 1