Two Normal Means, Unknown Equal Variance
Test statistic
t=sp2(nx1+ny1)xˉ−yˉ
should follow tn−2 distribution under H0, where n=nx+ny and the pool sample variance
sp2=nx+ny−2(nx−1)sx2+(ny−1)sy2=nx+ny−2∑i=1nx(xi−xˉ)2+∑j=1ny(yj−yˉ)2
Decision Rule: reject H0 if t>tn−2,α in (i), t<tn−2,α in (ii), ∣t∣>tn−2,α/2 in (iii)