Confidence Intervals for Paired Samples: Known Variances

Construct a confidence interval for the mean difference μD\mu_D in a paired-sample design when the population standard deviation of the differences σD\sigma_D is known. This includes the case where σD\sigma_D must be computed from σX,\sigma_X, σY,\sigma_Y, and the correlation ρ.\rho.

Step 1 of 119%

Tutorial

Confidence Intervals from Paired Differences

In some studies, observations come in matched pairs: each subject (or experimental unit) contributes two measurements. Common examples include before/after readings on the same patient, twin studies, and the same machine measured under two protocols.

Given nn pairs (X1,Y1),(X2,Y2),,(Xn,Yn),(X_1, Y_1), (X_2, Y_2), \ldots, (X_n, Y_n), we form the paired differences

Di=XiYi,i=1,2,,n,D_i = X_i - Y_i, \qquad i = 1, 2, \ldots, n,

and compute their sample mean

Dˉ=1ni=1nDi.\bar{D} = \dfrac{1}{n}\sum\limits_{i=1}^n D_i.

When the population standard deviation of the differences σD\sigma_D is known, a (1α)100%(1-\alpha)\cdot 100\% confidence interval for the mean difference μD=μXμY\mu_D = \mu_X - \mu_Y is

Dˉ±zα/2σDn.\bar{D} \,\pm\, z_{\alpha/2}\cdot\dfrac{\sigma_D}{\sqrt{n}}.

The critical values for the most common confidence levels are:

Confidencezα/290%1.64595%1.9699%2.576\begin{array}{c|c} \text{Confidence} & z_{\alpha/2} \\ \hline 90\% & 1.645 \\ 95\% & 1.96 \\ 99\% & 2.576 \end{array}

For instance, with n=9,n=9, Dˉ=4,\bar{D}=4, and σD=3,\sigma_D=3, the margin of error at 95% confidence is

1.9639=1.961=1.96,1.96\cdot\dfrac{3}{\sqrt{9}}=1.96\cdot 1=1.96,

so the interval is (41.96,4+1.96)=(2.04,5.96).(4-1.96,\,4+1.96)=(2.04,\,5.96).

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