Confidence Interval on Difference Between Means, Independent Groups, Standard
Deviation Estimated (4 of 7)
The calculations are only slightly more complicated when the
sample sizes are different (n
1 does not equal
n
2). The first difference in the calculations is that MSE
is computed differently. If the two values of s² were
simply averaged as they are in the case of equal sample sizes, then
the estimate based on the smaller sample size would count as much as
the estimate based on the larger sample size. Instead the formula for
MSE is:
MSE = SSE/df
where df is the degrees of freedom and SSE is the sum of squares
error and is defined as:
SSE = SSE
1 + SSE
2
SSE
1 = Σ(X - M
1)²
where the X's are from the first group (sample) and M
1 is the
mean of the first group.
Similarly,
SSE
2= Σ(X - M
2)²
where the X's are from the second group and M
2 is the mean
of the second group.
The formula:
cannot be used without modification since there is not
one value of n but two: (n
1 and n
2).