SST 305 • UNIT 9 • Statistics

Interval Estimation: Confidence Intervals for the Difference Between Means of Two Independent Normal Distributions

Topics covered: Two independent populations (X1 and X2), 100(1-alpha)% confidence interval for the true mean difference (mu1 - mu2), Cases when the common variance is known or unknown

Looking for SST 305 Interval Estimation: Confidence Intervals for the Difference Between Means of Two Independent Normal Distributions PDF material?
Generate printable PDF revision notes, past examination papers with marking rubrics, and formula cheat sheets.
Download Course PDF Pack (.zip)

Syllabus Study Notes (Core Overview)

Free Overview Preview

1. Purpose and Statistical Context

1.1 Estimating a difference between two population means

Many estimation problems compare two groups rather than estimate one population mean in isolation. Examples in the approved lesson include comparing petrol consumption for two additives and comparing measurements from two independent normal populations. The parameter of interest is the difference $\mu_1-\mu_2$, where $\mu_1$ is the mean in population 1 and $\mu_2$ is the mean in population 2.

Because the population means are unknown, use independent samples to estimate them. The point estimate of their difference is $\bar X_1-\bar X_2$. An interval estimate adds a lower and upper confidence limit to describe the sampling uncertainty in that estimate.

1.2 Learning goals

After this lesson, a learner should be able to:

  • State the model assumptions for two independent normal samples.
  • Construct a confidence interval for $\mu_1-\mu_2$ when the common variance is known.
  • Construct a confidence interval when the populations have a common but unknown variance.
  • Calculate and interpret the pooled sample variance and the standard error of the difference.
  • Use the correct normal or Student's $t$ critical value and degrees of freedom.
  • Preserve the order of the population difference when interpreting the sign of the interval.

2. Definitions and Assumptions

2.1 Two independent samples

Let $X_{11},\ldots,X_{1n_1}$ be a random sample of size $n_1$ from population 1, and let $X_{21},\ldots,X_{2n_2}$ be an independent random sample of size $n_2$ from population 2. The lesson models them as

$$
X_{1i}\sim N(\mu_1,\sigma^2),\qquad
X_{2j}\sim N(\mu_2,\sigma^2),
$$

with the two samples independent. In this lesson's pooled-variance case, the two populations share a common variance $\sigma^2$. Their means may differ.

Write

$$
\bar X_1=\frac{1}{n_1}\sum_{i=1}^{n_1}X_{1i},\qquad
\bar X_2=\frac{1}{n_2}\sum_{j=1}^{n_2}X_{2j}.
$$

The target is $\mu_1-\mu_2$, and the natural point estimate is $\bar X_1-\bar X_2$. The order matters: reversing the population labels changes the sign of the target and the interval center.

2.2 Difference of sample means

Independence gives

$$
E(\bar X_1-\bar X_2)=\mu_1-\mu_2.
$$

If the common variance $\sigma^2$ is known, the variance of the difference is

$$
\operatorname{Var}(\bar X_1-\bar X_2)
=\frac{\sigma^2}{n_1}+\frac{\sigma^2}{n_2}
=\sigma^2\left(\frac{1}{n_1}+\frac{1}{n_2}\right).
$$

Therefore its standard deviation is $\sigma\sqrt{1/n_1+1/n_2}$. When $\sigma^2$ is unknown, the common variance is estimated by pooling the two sample variances.

2.3 Confidence coefficient

For confidence coefficient $1-\alpha$, the interval procedure is designed to cover the fixed difference $\mu_1-\mu_2$ in a proportion $1-\alpha$ of repeated samples under the model. In an equal-tailed interval, the two tails each receive probability $\alpha/2$. This describes the long-run coverage of the procedure; it does not mean the fixed mean difference is random after the interval is computed.

Unlock Complete Study Notes & Exam Traps

The full guide includes formal proofs, worked exemplar calculations, high-yield exam traps, and examiner marking schemes. Continue studying this topic in Mentify Prep Studio.

Verified Examination Problems

19 verified questions in catalog

Question 6 (8 marks)

A researcher compares the tensile strength of steel rods produced by two independent processes. Let $X_1$ denote the strength of a rod from process 1 and $X_2$ the strength of a rod from process 2. Assume that $X_1 \sim N(\mu_1, \sigma^2)$ and $X_2 \sim N(\mu_2, \sigma^2)$ are independent normal distributions with a common but unknown variance $\sigma^2$. A random sample of $n_1 = 10$ rods from process 1 gave a sample mean $\bar{x}_1 = 72.4$ and a sample variance $s_1^2 = 8.6$. An independent random sample of $n_2 = 12$ rods from process 2 gave $\bar{x}_2 = 68.9$ and $s_2^2 = 7.9$.

(a) State the appropriate pivotal quantity for constructing a $100(1-\alpha)\%$ confidence interval for $\mu_1 - \mu_2$ when the common variance is unknown, and give its distribution. (2 marks)
(b) Derive the $100(1-\alpha)\%$ confidence interval for $\mu_1 - \mu_2$ based on the pivotal quantity in part (a). (3 marks)
(c) Compute the $95\%$ confidence interval for $\mu_1 - \mu_2$ using the given data. Interpret your interval in the context of the problem. (3 marks)

Full Step-by-Step Solution & Marking Rubric Locked
View Solution in Studio →

Question 7 (6 marks)

Two independent normal populations have unknown but equal variances. A random sample of size $n_1=12$ from the first population gave $\bar{x}_1=48.5$ and $s_1^2=36.0$. An independent random sample of size $n_2=15$ from the second population gave $\bar{x}_2=42.0$ and $s_2^2=25.0$. Construct a $95\%$ confidence interval for the difference between the population means $\mu_1-\mu_2$. Interpret your interval.

Full Step-by-Step Solution & Marking Rubric Locked
View Solution in Studio →
+ 17 More Verified Exam Questions Available

Access all authentic past questions, interactive AI hint generation, and full marking rubrics in the course studio.

Unlock All Questions in Studio →
Ready to practice this topic interactively?
Generate custom exam variants, chat with the AI course tutor, and solve past papers.
Launch Interactive Study