Mathwords logoMathwords

Difference Between Population Means — Definition, Formula & Example

The difference between population means is the true gap between the average of one entire population and the average of another, written μ1−μ2\mu_1 - \mu_2. It is a fixed number you usually cannot see directly. Two-sample tests and intervals exist to estimate it.

For two populations with means μ1\mu_1 and μ2\mu_2, the parameter μ1−μ2\mu_1 - \mu_2 is the difference of those means, taken in a stated order. It is a parameter, not a statistic. The sample statistic xˉ1−xˉ2\bar{x}_1 - \bar{x}_2 from independent random samples is an unbiased estimator of it, since μxˉ1−xˉ2=μ1−μ2\mu_{\bar{x}_1 - \bar{x}_2} = \mu_1 - \mu_2. The Sample Mean Difference page covers that statistic and its sampling variability. This page covers the unknown target the statistic aims at.

Key Formula

parameter: μ1−μ2point estimate: xˉ1−xˉ2H0:μ1−μ2=0\text{parameter: } \mu_1 - \mu_2 \qquad \text{point estimate: } \bar{x}_1 - \bar{x}_2 \qquad H_0: \mu_1 - \mu_2 = 0
Where:
  • μ1,μ2\mu_1, \mu_2 = Means of population 1 and population 2 (unknown, fixed)
  • xˉ1,xˉ2\bar{x}_1, \bar{x}_2 = Means of the samples drawn from each population (known, vary by sample)
  • H0H_0 = Null hypothesis, which most often claims the two population means are equal

Worked Example

Problem: Let μA−μB\mu_A - \mu_B be the difference between the mean one-way commute times, in minutes, of all workers in City A and all workers in City B. A study reports a 95% confidence interval for μA−μB\mu_A - \mu_B of (2.5,9.5)(2.5, 9.5). Find the point estimate and the margin of error. Then interpret the interval, and state the interval for μB−μA\mu_B - \mu_A.
Step 1: The point estimate sits at the center of the interval. This 6 is the observed value of xˉA−xˉB\bar{x}_A - \bar{x}_B. It is not the parameter itself.
2.5+9.52=6\frac{2.5 + 9.5}{2} = 6
Step 2: The margin of error is half the width of the interval.
9.5−2.52=3.5\frac{9.5 - 2.5}{2} = 3.5
Step 3: Every value in the interval is positive, so 0 is not a plausible value for μA−μB\mu_A - \mu_B. A two-sided test of H0:μA−μB=0H_0: \mu_A - \mu_B = 0 at the 5% level would reject H0H_0.
0∉(2.5, 9.5)0 \notin (2.5,\ 9.5)
Step 4: Reversing the order of subtraction negates both endpoints and swaps them. The conclusion stays the same.
μB−μA∈(−9.5, −2.5)\mu_B - \mu_A \in (-9.5,\ -2.5)
Answer: The point estimate is 6 minutes and the margin of error is 3.5 minutes. You can be 95% confident that the true mean commute in City A is between 2.5 and 9.5 minutes longer than in City B. For μB−μA\mu_B - \mu_A, the interval is (−9.5,−2.5)(-9.5, -2.5).

Why It Matters

On the AP Statistics exam, two-sample t-test and t-interval free-response questions require you to define the parameter in words, including both populations and the order of subtraction. If you leave out that definition, or describe xˉ1−xˉ2\bar{x}_1 - \bar{x}_2 instead of μ1−μ2\mu_1 - \mu_2, you lose credit even when your arithmetic is correct.

Common Mistakes

Mistake: Treating paired data, such as before-and-after scores for the same students, as two separate samples and targeting μ1−μ2\mu_1 - \mu_2 with two-sample methods.
Correction: For paired data the parameter is the mean difference μd\mu_d. Its value equals μ1−μ2\mu_1 - \mu_2, but the paired measurements are not independent. Two-sample procedures would therefore use the wrong standard error. Use one-sample t methods on the differences instead.

Related Terms

  • Sample Mean Difference — The statistic x̄₁ − x̄₂ that estimates this parameter
  • Two-Sample t-Interval — Procedure that builds intervals for this parameter
  • Population Mean — Each of the two means being subtracted here
  • Confidence Interval — General method for capturing parameters like this one
  • Mean — Basic average underlying both population means
  • Two-Sample z-Test — Tests a claimed value of this parameter when σ₁ and σ₂ are known
  • Paired t-Test — Use for paired data, where the parameter is μd\mu_d (the mean difference) instead