FS2 7.3 - Two-sample t-tests with pooled variance
Two independent samples can estimate one common variance while comparing different population means. You will pool their within-sample variation, test a mean difference and construct its confidence interval under the normal and equal-variance assumptions.
Separate populations, one common unknown variance
If every measurement in group A rises by units, should the pooled variance rise too?
No. Pooling here combines variation within the groups. Their means may be far apart without changing that within-group spread. The difference between the means belongs in the numerator of the comparison, rather than being mixed into the variance estimate.
You already know
Unknown-variance inference for one normal mean uses a t statistic and unbiased sample variance. An F-test can investigate equality of two normal population variances, but non-rejection does not prove equality. Paired observations require analysis of their differences.
For this procedure, take two independent random samples from normal populations. Assume the population variances are equal but unknown:
The means need not be equal. Equality of the variances is a modelling condition that permits a common spread estimate.
Each sample contains independent observations, and the two samples are independent of one another. Measurements repeated on the same people do not satisfy that independent-sample design just because they appear in separate table rows.
An F-test may provide evidence against equal variances. If the common-variance model is unsuitable, the pooled t procedure below is not justified. Do not quietly replace its assumptions with an unrelated z calculation.
Key idea
Pool the within-group variance information, then compare population means. Independence, normal populations and equal unknown variances are distinct requirements.
Check the whole model, not only one convenient condition.
Pool centred sums, not raw measurements
The unbiased variance summarises a centred squared total . Add the two groups' centred totals, then divide by their combined degrees of freedom.
Pooled estimate of the common variance
For independent normal samples with a common unknown population variance, and ,
The estimated standard error of is
The pooled variance and its use in the two-sample t denominator are supplied. In the formula booklet.
The weights reflect the information contributing to each variance estimate. Only when the sample sizes are equal does pooling reduce to their ordinary arithmetic average.
Worked example 1: unequal sample sizes
Question. Independent samples from normal populations with equal unknown variances have , with unbiased variances and . Find the pooled variance and estimated standard error of their mean difference.
Plan. Pool the within-group centred totals, then take the square root of the estimated mean-difference variance.
Why this step? Pooling combines centred squared information with degrees of freedom; it does not combine the raw measurements around a single grand mean.
Answer. The pooled variance is , and the estimated standard error is .
Check. The pooled variance lies between and , closer to because that group contributes more degrees of freedom.
Worked example 2 changes only group B's sample variance from to .
Worked example 2: both estimates now agree
Question. Recalculate the pooled variance and standard error after this change.
Plan. Retain the weights and replace the second centred total.
Why this step? Equal sample-variance estimates remain equal after weighting, but the mean-difference standard error still depends on both sample sizes.
Answer. The pooled variance is ; the estimated standard error is , to three significant figures.
Check. Lower estimated spread produces a lower estimated standard error.
Adding to every A measurement adds the same amount to its sample mean. Every deviation stays unchanged, so , and the estimated standard error stay unchanged. This answers the opening question.
Watch out
Wrong: use , or divide a difference of means by . Right: weight by , then use the square root of the estimated mean-difference variance.
Change only group B's sample variance again.
Test a population mean difference
Let . A zero null difference tests equality of the means; a non-zero null difference assesses a specified gap. Keep the order of the means consistent with the alternative.
Two-sample t statistic with equal unknown variances
For the independent common-variance normal model, under ,
Use observed for the numerical statistic. In the formula booklet.
Two estimated group centres cost two degrees of freedom in total. The hypotheses concern population means, not their observed sample estimates.
Worked example 3: a two-sided comparison
Question. Independent component-length samples from normal populations with equal unknown variances give
Test at whether the population means differ.
Plan. Use the pooled estimate from Worked example 1 and a two-sided comparison.
Why this step? Both sample means contribute uncertainty, and both variance estimates contribute to the common denominator.
Answer. Do not reject . There is insufficient evidence at that the population mean component lengths differ.
Check. A sample difference of need not be significant when its estimated standard error is .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account