Let two independent random samples of sizes and respectively have been drawn from the same normal population. Let and be the means and let and be their standard deviations. In order to test whether the the two sample means and differ significantly or not, the -test statistic is given by
Let two independent random samples of sizes and respectively have been drawn from the same normal population. Let and be the means and let and be their standard deviations. In order to test whether the the two sample means and differ significantly or not, the -test statistic is given by
Solution
The goal is to test whether two sample means and are significantly different when both samples come from the same normal population.
We want to check if the difference between the two sample means is large enough to be real, or if it could just be due to random chance. The -statistic measures exactly this — it compares the difference to how much difference we'd expect from random sampling alone.
The -test statistic always follows this pattern:
This gives us:
where:
is the observed difference between the two sample means
is the pooled standard deviation (explained in the next step)
is the adjustment factor that accounts for sample sizes
Note: the term inside the square root is and not . This is because when you subtract two independent quantities, their variances add, and the variance of a sample mean is proportional to , not .
Since both samples come from the same population, they share the same true variance. So instead of using and separately, we combine (pool) them into one better estimate:
The numerator is the total sum of squared deviations from both samples combined. Larger samples contribute more, which makes sense.
The denominator is the total degrees of freedom. We subtract because we used up one degree of freedom estimating each sample mean — one for and one for .
where
This -statistic follows a -distribution with degrees of freedom.
Related questions:
2026: 25 May Shift 1
2025: 22 May Shift 2
2025: 21 May Shift 1