The two-sample (pooled) t-test for independent samples
Two independent samples, equal but unknown variances — pool the variances and use ν = n₁ + n₂ − 2.
The setting. You have two separate, independent samples — say the yields of crops on field A and on field B — drawn from two normal populations with means and . You want to test whether the population means differ. Because the population variances are unknown but assumed equal, you combine ("pool") the two sample variances into one best estimate.
The pooled variance. This is the single most error-prone formula, so write it out carefully:
It is a weighted average of the two sample variances, weighted by their degrees of freedom .
The test statistic.
Under you normally assume , so the bracket vanishes — but write it in, because some questions test a specified difference.
The five-step structure (use it every single time):
- State and (one- or two-tailed).
- State the significance level and identify the test.
- Compute , then the test statistic .
- Compare with the critical value from the -table (MF19) at .
- Conclude in context.
Cambridge tip. The standard error in the denominator uses — that is (the square root), not . Compute first, then take its square root before dividing.
- Pool the variances: .
- Test statistic uses with .
- Assumptions: independent samples, normal populations, equal variances.
See the full worked example for formulating hypotheses concerning the difference of population →