Confidence Intervals for Two Means: Known and Unequal Population Variances

Construct and interpret confidence intervals for the difference of two population means when both population variances are known and not assumed equal.

Step 1 of 157%

Tutorial

Introduction

Suppose we have two independent samples drawn from populations with known variances σ12\sigma_1^2 and σ22.\sigma_2^2. Let xˉ1\bar{x}_1 and xˉ2\bar{x}_2 be the sample means based on sample sizes n1n_1 and n2,n_2, respectively.

A 100(1α)%100(1-\alpha)\% confidence interval for μ1μ2\mu_1 - \mu_2 is

(xˉ1xˉ2)±zα/2σ12n1+σ22n2,(\bar{x}_1 - \bar{x}_2) \pm z_{\alpha/2}\sqrt{\dfrac{\sigma_1^2}{n_1} + \dfrac{\sigma_2^2}{n_2}},

where zα/2z_{\alpha/2} is the critical value from the standard normal distribution. For a 95%95\% confidence interval, z0.025=1.96.z_{0.025} = 1.96.

For example, suppose xˉ1=50,\bar{x}_1 = 50, xˉ2=47,\bar{x}_2 = 47, σ12=16,\sigma_1^2 = 16, σ22=9,\sigma_2^2 = 9, and n1=n2=100.n_1 = n_2 = 100. The standard error is

16100+9100=0.25=0.5,\sqrt{\dfrac{16}{100} + \dfrac{9}{100}} = \sqrt{0.25} = 0.5,

and the 95%95\% confidence interval is

(5047)±1.96(0.5)=3±0.98=(2.02,3.98).(50 - 47) \pm 1.96(0.5) = 3 \pm 0.98 = (2.02,\, 3.98).
navigate · Enter open · Esc close · ⌘K/Ctrl K toggle