AP Statistics · Unit 3 · Topic 3.9

    3.9 Sampling Distributions for the Difference Between Sample Proportions

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    For independent random samples, the sampling distribution of p^1−p^2\hat{p}_1 - \hat{p}_2 has mean p1−p2p_1 - p_2 and standard deviation p1(1−p1)n1+p2(1−p2)n2\sqrt{\frac{p_1(1-p_1)}{n_1} + \frac{p_2(1-p_2)}{n_2}} (when each sample is less than 10% of its population). It is approximately normal when n1p1,n1(1−p1),n2p2,n2(1−p2)n_1p_1, n_1(1-p_1), n_2p_2, n_2(1-p_2) are all at least 10. Variances add, even though the statistic is a difference.

    What you need to know

    • State the mean and standard deviation of the sampling distribution of p̂₁ − p̂₂.
    • Check the conditions for using a normal model for the difference.
    • Calculate probabilities about a difference in sample proportions.
    • Explain why the variances add.

    Two populations, two samples

    Suppose 45% of adults in Town A and 30% of adults in Town B cycle at least once a week. A researcher takes independent random samples of 200 adults from each town and records the difference p̂_A − p̂_B. Different pairs of samples give different differences; the sampling distribution describes all the values the difference could take.

    μp^1−p^2=p1−p2σp^1−p^2=p1(1−p1)n1+p2(1−p2)n2\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2 \qquad \sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\frac{p_1(1-p_1)}{n_1} + \frac{p_2(1-p_2)}{n_2}}

    Centre: the difference p̂₁ − p̂₂ is an unbiased estimator of p₁ − p₂. Spread: the formula comes from adding the variances of two independent statistics (for independent random variables, variances add). The standard deviations themselves do not add; take the square root after adding the variances.

    Conditions

    • Random and independent: two independent random samples (or two groups formed by random assignment in an experiment).
    • 10%: each sample is less than 10% of its population, so the standard deviation formula is accurate.
    • Large counts: n₁p₁, n₁(1 − p₁), n₂p₂, n₂(1 − p₂) are all at least 10, so the shape is approximately normal.

    For the towns: 200(0.45) = 90, 200(0.55) = 110, 200(0.30) = 60 and 200(0.70) = 140, all at least 10. Both towns have many more than 2,000 adults, so the 10% condition holds.

    Worked example

    σ=0.45(0.55)200+0.30(0.70)200≈0.0478\sigma = \sqrt{\frac{0.45(0.55)}{200} + \frac{0.30(0.70)}{200}} \approx 0.0478

    The difference has mean 0.15 and standard deviation about 0.0478, and is approximately normal. What is the probability that the sample from Town B shows a higher proportion than the sample from Town A? That is P(p̂_A − p̂_B < 0): z = (0 − 0.15)/0.0478 ≈ −3.14, giving about 0.0009. A reversal would be very unusual with samples this size.

    What is the probability the difference is more than 0.20? z = (0.20 − 0.15)/0.0478 ≈ 1.05, so the probability is about 0.148.

    In topics 3.10 to 3.13 the true p₁ and p₂ are unknown, so the same structure is used with estimates from the data. This lesson is the foundation for those intervals and tests.

    Key terms

    p̂₁ − p̂₂
    The difference between two sample proportions, a statistic estimating p₁ − p₂.
    Independent samples
    Samples chosen so that the selection of one has no effect on the other.
    Unbiased estimator
    A statistic whose sampling distribution is centred on the parameter it estimates.
    Variance addition
    For independent random variables, Var(X − Y) = Var(X) + Var(Y).

    Common mistakes

    • Subtracting the variances.

      Variances add for a difference of independent statistics.

    • Adding the two standard deviations.

      Add the variances, then take the square root.

    • Checking large counts for only one sample.

      All four counts must be at least 10.

    How this topic is tested

    • Write the formula with the numbers substituted before computing.
    • Define which group is 1 and which is 2 and keep the order throughout.
    • Sketch a normal curve with the mean p₁ − p₂ and shade the region asked for.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · SP 3 · Analyze Data

      p₁ = 0.60, n₁ = 100 and p₂ = 0.50, n₂ = 100 (independent random samples). The standard deviation of p̂₁ − p̂₂ is:

    2. Question 2 · SP 3 · Analyze Data

      Using the previous setting, P(p̂₁ − p̂₂ < 0) is about:

    3. Question 3 · SP 3 · Analyze Data

      The mean of the sampling distribution of p̂₁ − p̂₂ is:

    4. Question 4 · SP 2 · Collect Data

      Which condition makes the shape of the sampling distribution approximately normal?

    5. Question 5 · SP 3 · Analyze Data

      Why is the standard deviation of p̂₁ − p̂₂ larger than that of p̂₁ alone?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Probability and sampling · 5 points

    In a city, 62% of high school seniors and 48% of juniors have a driving licence. Independent random samples of 150 seniors and 150 juniors are taken.

    1. (a) Find the mean and standard deviation of p̂_S − p̂_J.
    2. (b) Justify a normal model.
    3. (c) Find P(p̂_S − p̂_J < 0.05).

    Connected topics

    Frequently asked questions

    Is this topic about inference?

    Not yet. Here p₁ and p₂ are known, and we ask how sample differences behave. Intervals and tests start in 3.10.

    Do the sample sizes have to be equal?

    No. The formula uses n₁ and n₂ separately.

    What if the samples are paired?

    Paired data (the same people measured twice) are not independent; that case is handled with paired means in Unit 4.

    How this shows up on the exam42 multiple-choice questions and 4 free-response questions of 10 points. See what each one asks you to do.Full-length AP Statistics practice examsUnit 3 is one of 5 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 3 cheat sheet

    Every topic in Unit 3: Inference for Categorical Data: Proportions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Statistics practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 3 practice test: 75 questions with explanations

    All topics in Unit 3: Inference for Categorical Data: Proportions

    1. 3.1 Estimators
    2. 3.2 Sampling Distributions for Sample Proportions
    3. 3.3 Constructing a Confidence Interval for a Population Proportion
    4. 3.4 Justifying a Claim Based on a Confidence Interval for a Population Proportion
    5. 3.5 Setting Up a Test for a Population Proportion
    6. 3.6 p-Values
    7. 3.7 Carrying Out a Test for a Population Proportion
    8. 3.8 Potential Errors When Performing Tests
    9. 3.9 Sampling Distributions for the Difference Between Sample Proportions
    10. 3.10 Constructing a Confidence Interval for the Difference Between Two Population Proportions
    11. 3.11 Justifying a Claim Based on a Confidence Interval for the Difference Between Two Population Proportions
    12. 3.12 Setting Up a Test for the Difference Between Two Population Proportions
    13. 3.13 Carrying Out a Test for the Difference Between Two Population Proportions
    14. 3.14 Setting Up a Chi-Square Test for Homogeneity or Independence
    15. 3.15 Carrying Out a Chi-Square Test for Homogeneity or Independence

    Other units in AP Statistics

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.