Hypothesis Tests for Two Means: Equal But Unknown Population Variances

This lesson develops the pooled two-sample t-test for comparing two population means when the population variances are unknown but can be assumed equal. We introduce the test statistic, the pooled sample variance, the degrees of freedom, and the decision rule for two-sided and one-sided alternatives.

Step 1 of 157%

Tutorial

The Pooled Two-Sample t-Test

Suppose we want to compare the means μ1\mu_1 and μ2\mu_2 of two normal populations using independent random samples. When the population variances σ12\sigma_1^2 and σ22\sigma_2^2 are unknown but can be assumed equal, we use the pooled two-sample t-test.

Let the samples have sizes n1,n2,n_1, n_2, means xˉ1,xˉ2,\bar{x}_1, \bar{x}_2, and variances s12,s22.s_1^2, s_2^2. The hypotheses take the form

H0 ⁣: μ1μ2=δ0vs.H1 ⁣: μ1μ2δ0H_0\!:\ \mu_1 - \mu_2 = \delta_0 \qquad \text{vs.} \qquad H_1\!:\ \mu_1 - \mu_2 \neq \delta_0

(or a one-sided alternative). The most common case is δ0=0,\delta_0 = 0, corresponding to testing whether the two means are equal.

The test statistic is

t=(xˉ1xˉ2)δ0sp1n1+1n2t = \dfrac{(\bar{x}_1 - \bar{x}_2) - \delta_0}{s_p\,\sqrt{\dfrac{1}{n_1} + \dfrac{1}{n_2}}}

where sps_p is the pooled sample standard deviation (defined in the next cycle). Under H0,H_0, the statistic tt follows a tt-distribution with n1+n22n_1 + n_2 - 2 degrees of freedom.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle