Let X₁, X₂,....,Xₘ be a random sample from normal population N(μ₁, σ²) and let Y₁, Y₂,....,Yₙ be another independent random sample (independent of the Xᵢ's also) from normal population N(μ₂, σ²). If, S₁² = (1/(m − 1)) Σ(r=1 to m) (X_r − X̄)², S₂² = (1/(n − 1)) Σ(r=1 to n) (Y_r − Ȳ)², S_p² = [(m − 1)S₁² + (n − 1)S₂²]/(m + n − 2) and σ² is unknown, then the distribution of T = (X̄ − Ȳ)/√(S_p²(1/m + 1/n)) under H₀ : μ₁ = μ₂ is
Under H₀, T follows Student's t distribution with m + n − 2 degrees of freedom.
X̄ − Ȳ ~ N(μ₁ − μ₂, σ²(1/m + 1/n)), so under H₀, Z = (X̄ − Ȳ)/[σ√(1/m + 1/n)] ~ N(0, 1).
(m − 1)S₁²/σ² ~ χ²₍ₘ₋₁₎ and (n − 1)S₂²/σ² ~ χ²₍ₙ₋₁₎ independently, so (m + n − 2)S_p²/σ² ~ χ²₍ₘ₊ₙ₋₂₎.
T = Z/√[χ²₍ₘ₊ₙ₋₂₎/(m + n − 2)] with Z independent of S_p², which is the definition of t₍ₘ₊ₙ₋₂₎.
N(0, 1) would hold only if σ² were known and used in place of S_p².
Two degrees of freedom are lost because two means X̄ and Ȳ are estimated, so m + n − 1 is wrong.
A beta type II law describes T²/k when T ~ t_k, namely β₂(1/2, k/2), not T itself.
This pooled t test assumes equal population variances; Welch's test handles unequal variances.
Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.
Practise on Mcqkart →🎓 Book an expert →