Skip to content

Confidence intervals for a difference in population means

Construct, interpret, and justify a confidence interval for the difference between two population means.

It opens on

A: n=35, x̄=48.2 h, s=6.1 h. B: n=40, x̄=44.9 h, s=7.4 h. How much longer does A really last?

Why it matters

Comparing sample averages requires accounting for uncertainty before making a claim about the populations.

Good to know first

  • Justifying claims with a confidence interval for a mean: estimate ± t*·SE, read in context. The sampling distribution of a difference in sample means: mean μ₁−μ₂, variances add. Confidence intervals for a difference in population proportions: estimate ± critical value·SE, and whether the interval holds zero

Step by step

  1. Choose groups

    Name the ordered parameter and assess conditions for two-sample inference.

    Brand A and brand B lifetimes pass the size check (35, 40); inference still requires random samples and populations of ≥350 A, ≥400 B.

    A common mix-up

    Batteries aligned in table rows form pairs.

    In fact: Row position does not match individual batteries.

  2. Build interval

    Calculate the standard error and a two-sample t-interval.

    Battery SE=√[(6.1 h)²/35+(7.4 h)²/40]=√(2.432 h²)=1.5595 h.

    A common mix-up

    Pooled df=35+40−2=73 is the default.

    In fact: Use technology’s unpooled df≈72.8, or conservative df=34.

  3. Read interval

    Interpret ordered intervals and distinguish insufficient evidence from proof of equality.

    The 95% battery interval (0.19,6.41) h excludes zero; its positive values favour A.

    A common mix-up

    Zero inside an interval proves equal means.

    In fact: The interval also contains nonzero differences.

Try it

If each brand has n=20 and clean sample plots, what supports the shape check?Answer

Both samples lack strong skew and outliers.

Hint: Use the alternative to both n≥30.

With the battery data and 90% t*≈1.666, find the A−B interval.Answer

(0.70,5.90) h

Hint: Keep the centre and SE; change t*.

Reverse the 99% battery interval to B−A. What follows?Answer

(−7.43,0.83) h; insufficient evidence of a difference.

Hint: Negate and reverse the endpoints, then check zero.

Write the plant design check and ordered parameter.Answer

Random assignment, no 10% check; μnew−μstandard.

Change to 15 plants per treatment, SDs 3.9 and 4.4 cm; write SE.Answer

√(3.9²/15+4.4²/15)=1.518 cm.

Confidence intervals for a difference in population means

30 minutes every month. No card.