From the free course AP Statistics on Lykke

3.9 Sampling Distributions for the Difference Between Sample Proportions

Key concepts: Sampling distribution of p̂₁ − p̂₂ over repeated independent sampling · Mean of the difference equals the true difference p₁ − p₂ · Standard deviation √(p₁q₁/n₁ + p₂q₂/n₂) — add variances, never standard deviations · Independence — two random samples, each ≤ 10% of its population · Normality — all four expected success and failure counts ≥ 10 · Distance of 0 from the centre, measured in standard deviations

Comparing the success rates of two medical treatments or the voting preferences of two distinct cities requires a statistical model that describes how the difference between two sample proportions behaves across repeated trials.

Comparing the success rates of two medical treatments or the voting preferences of two distinct cities requires a statistical model that describes how the difference between two sample proportions behaves across repeated trials. When we draw independent random samples from two separate populations, the resulting statistic—the difference in sample proportions ($\hat{p}_1 - \hat{p}_2$)—follows its own predictable distribution. This sampling distribution allows us to quantify how much the observed difference between two groups might vary simply due to the luck of the draw.

The Parameters of the Difference

To analyze the difference between two groups, we first define the characteristics of the individual populations. Let $p_1$ and $p_2$ represent the true population proportions for Group 1 and Group 2, respectively. When we take independent samples of sizes $n_1$ and $n_2$, the sampling distribution of the statistic $\hat{p}_1 - \hat{p}_2$ is defined by its center and its spread (Skill 3.D).

Essential Knowledge 3.9.A.1: Parameters of the Distribution For two independent populations with proportions $p_1$ and $p_2$, the sampling distribution for the difference in sample proportions $\hat{p}_1 - \hat{p}_2$ has:

  • Mean: $\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2$
  • Standard Deviation: $\sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\frac{p_1(1-p_1)}{n_1} + \frac{p_2(1-p_2)}{n_2}}$

Justifying the Model: Conditions for Inference

Before using the Normal approximation to calculate probabilities or justify claims (Skill 4.E), we must verify that the sampling distribution is modeled accurately. These conditions ensure that our samples are representative and that the sample sizes are large enough to produce a bell-shaped distribution (Essential Knowledge 3.9.B.1).

Condition Requirement Statistical Justification
Independence Samples must be independent of each other. If sampling without replacement, each sample size must be $\le 10%$ of its respective population. Allows us to use the standard deviation formula without adjustment for finite populations.
Randomness Data must come from two independent random samples or a randomized experiment. Ensures the sample statistics are unbiased estimators of the population parameters.
Large Counts $n_1p_1 \ge 10$, $n_1(1-p_1) \ge 10$, $n_2p_2 \ge 10$, and $n_2(1-p_2) \ge 10$. Ensures the sampling distribution of $\hat{p}_1 - \hat{p}_2$ is approximately Normal.

Worked Example: Comparing Commute Methods

Suppose $60%$ of students at North High ($p_1 = 0.60$) walk to school, while only $40%$ of students at South High ($p_2 = 0.40$) walk to school. We take an independent random sample of $n_1 = 50$ students from North High and $n_2 = 50$ students from South High.

1. Calculate the Mean: $\mu_{\hat{p}_1 - \hat{p}_2} = 0.60 - 0.40 = 0.20$. On average, the proportion of walkers at North High will be $0.20$ higher than at South High.

2. Calculate the Standard Deviation: $\sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\frac{0.6(0.4)}{50} + \frac{0.4(0.6)}{50}} = \sqrt{0.0048 + 0.0048} = \sqrt{0.0096} \approx 0.098$.

3. Interpret the Result (Skill 4.D): In many repeated random samples of 50 students from each school, the difference in the sample proportions of walkers will typically vary by about $0.098$ from the true difference of $0.20$.

4. Check the Normal Condition: $50(0.6) = 30$, $50(0.4) = 20$, $50(0.4) = 20$, $50(0.6) = 30$. Since all expected counts are $\ge 10$, the sampling distribution of $\hat{p}_1 - \hat{p}_2$ is approximately Normal.

Misconception Check: Adding Variances A common error is attempting to subtract the standard deviations of the two groups. Remember: Variances add; standard deviations do not. Even though we are looking for the difference between proportions, the variability of that difference is greater than the variability of a single proportion because the errors from both samples can compound. Always add the terms under the square root.

Scenario: A researcher compares the proportion of adults who exercise daily in City A ($p_1 = 0.3$) and City B ($p_2 = 0.2$). They take independent random samples of $n_1 = 100$ and $n_2 = 100$.

Question 1: What is the standard deviation of the sampling distribution of the difference in sample proportions ($\hat{p}_1 - \hat{p}_2$)? A) $\sqrt{\frac{0.3(0.7)}{100} - \frac{0.2(0.8)}{100}}$ B) $\sqrt{\frac{0.3(0.7)}{100} + \frac{0.2(0.8)}{100}}$ C) $\frac{0.3(0.7)}{100} + \frac{0.2(0.8)}{100}$ D) $\sqrt{0.3 - 0.2}$

Question 2: Which of the following is the best interpretation of the mean of this sampling distribution? A) The difference between the two sample proportions will always be $0.1$. B) In one specific sample, the difference $\hat{p}_1 - \hat{p}_2$ is expected to be $0.5$. C) Over many repeated samples of these sizes, the average difference between the sample proportions will be $0.1$. D) The probability that the two sample proportions are equal is $0.1$.

Question 3: Is the Normal condition met for this sampling distribution? A) No, because the total sample size ($n_1 + n_2$) is only 200. B) No, because $p_1$ and $p_2$ are different. C) Yes, because the samples were selected randomly. D) Yes, because $n_1p_1, n_1(1-p_1), n_2p_2,$ and $n_2(1-p_2)$ are all at least 10.

Answers:

  1. B (Variances must be added under the radical).
  2. C (The mean of the sampling distribution describes the long-run average of the statistic).
  3. D (The Large Counts condition is satisfied: $30, 70, 20, 80$ are all $\ge 10$).
3.9 Sampling Distributions for the Difference Between Sample Proportions - AP Statistics - image 1
3.9 Sampling Distributions for the Difference Between Sample Proportions - AP Statistics - image 1
3.9 Sampling Distributions for the Difference Between Sample Proportions - AP Statistics - diagram 1
3.9 Sampling Distributions for the Difference Between Sample Proportions - AP Statistics - diagram 1

Source Materials

The whole course on Lykke · Browse all public course wikis