Study Guide

Carrying Out a Test for the Difference Between Two Population Proportions

AP StatisticsΒ· Unit 6, Topic 10: Significance Test for Difference in Two ProportionsΒ· 25 min read

1. Step 1: State Hypotheses and Define Parametersβ˜…β˜…β˜†β˜†β˜†β± 7 min

The first step of any AP Statistics hypothesis test requires you to explicitly define your population parameters before writing null and alternative hypotheses to avoid losing easy rubric points.

πŸ“˜ Definition

Null Hypothesis for Two-Proportion Test

The claim that there is no difference between the two population proportions of successes, or

Example:

, where is the proportion of male high school students who have tried vaping, and is the proportion of female high school students who have tried vaping.

πŸ“ Worked Example

A researcher wants to test if the proportion of teens who own a smartphone is different between rural and urban areas. State the correct hypotheses and define parameters.

  1. 1

    First, define parameters clearly in context:

  2. 2
    p1=True proportion of urban teens who own a smartphonep_1 = \text{True proportion of urban teens who own a smartphone}
  3. 3
    p2=True proportion of rural teens who own a smartphonep_2 = \text{True proportion of rural teens who own a smartphone}
  4. 4

    Write null hypothesis of no difference:

  5. 5
    H0:p1=p2orH0:p1βˆ’p2=0H_0: p_1 = p_2 \quad \text{or} \quad H_0: p_1 - p_2 = 0
  6. 6

    Write two-sided alternative hypothesis for 'different':

  7. 7
    Ha:p1β‰ p2orHa:p1βˆ’p2β‰ 0H_a: p_1 \neq p_2 \quad \text{or} \quad H_a: p_1 - p_2 \neq 0

Exam tip:

You will lose the full hypotheses point on the AP rubric if you use sample statistics instead of population parameters .

2. Step 2: Verify Conditions for Inferenceβ˜…β˜…β˜…β˜†β˜†β± 6 min

All three conditions must be checked and explicitly justified to earn full points on the AP exam, even if they are implied in the problem prompt.

  • Random: Data comes from two independent random samples, or groups are assigned randomly in a controlled experiment

  • Independence: Observations within each group are independent, and each sample is no larger than 10% of its respective population

  • Normality: The sampling distribution of is approximately normal, verified by pooled successes and pooled failures all β‰₯ 10

πŸ“ Worked Example

For a sample of 200 urban teens with 172 smartphone owners, and 180 rural teens with 135 smartphone owners, verify the normality condition for the test.

  1. 1

    First calculate pooled total successes: 172 + 135 = 307

  2. 2

    Calculate pooled total failures: (200 - 172) + (180 - 135) = 28 + 45 = 73

  3. 3

    Check that all values are greater than 10: 307 β‰₯ 10, 73 β‰₯ 10. The normality condition is satisfied.

βœ“ Quick check

Which of the following scenarios violates the normality condition for a two-proportion z-test?

  1. Sample 1 has 8 successes out of 50, sample 2 has 7 successes out of 50

  2. Sample 1 has 3 successes out of 40, sample 2 has 4 successes out of 40

    Reveal answer
    true β€”

    Pooled successes = 7 < 10, normality condition fails.

  3. Sample 1 has 12 successes out of 30, sample 2 has 11 successes out of 30

3. Step 3: Calculate Test Statistic and P-Valueβ˜…β˜…β˜…β˜†β˜†β± 7 min

Once conditions are verified, you calculate the pooled standard error, z test statistic, and corresponding p-value based on your pre-defined alternative hypothesis.

z=p^1βˆ’p^2p^pooled(1βˆ’p^pooled)(1n1+1n2)z = \frac{\hat{p}_1 - \hat{p}_2}{\sqrt{\hat{p}_{pooled}(1-\hat{p}_{pooled}) \left( \frac{1}{n_1} + \frac{1}{n_2} \right)}}
πŸ“˜ Definition

Pooled Sample Proportion

Combined proportion of successes across both samples, used to estimate the common population proportion assumed under the null hypothesis

πŸ“ Worked Example

Using the urban/rural teen smartphone data: n1=200, x1=172, n2=180, x2=135, calculate the z test statistic.

  1. 1

    Calculate individual sample proportions:

  2. 2
    p^1=172/200=0.86,p^2=135/180=0.75\hat{p}_1 = 172/200 = 0.86, \quad \hat{p}_2 = 135/180 = 0.75
  3. 3

    Calculate pooled proportion:

  4. 4
    p^pooled=(172+135)/(200+180)=307/380β‰ˆ0.8079\hat{p}_{pooled} = (172 + 135)/(200 + 180) = 307/380 \approx 0.8079
  5. 5

    Compute standard error:

  6. 6
    SE=0.8079βˆ—0.1921βˆ—(1/200+1/180)β‰ˆ0.0393SE = \sqrt{0.8079 * 0.1921 * (1/200 + 1/180)} \approx 0.0393
  7. 7

    Compute z statistic:

  8. 8
    z=(0.86βˆ’0.75)/0.0393β‰ˆ2.799z = (0.86 - 0.75)/0.0393 \approx 2.799

4. Step 4: Draw a Conclusion in Contextβ˜…β˜…β˜†β˜†β˜†β± 5 min

Your conclusion must explicitly link the p-value to the significance level, reference the hypotheses, and state your result in the full context of the problem to earn all rubric points.

  1. Compare your calculated p-value to the pre-stated significance level Ξ± (almost always 0.05 for AP exams)

  2. State whether you reject or fail to reject the null hypothesis, referencing the p-value comparison

  3. Write a final contextual conclusion that directly addresses the original research question

πŸ“ Worked Example

Given p-value β‰ˆ 0.005 for the two-sided smartphone ownership test, Ξ±=0.05, write the full AP-aligned conclusion.

  1. 1

    Compare p-value to Ξ±: 0.005 < 0.05

  2. 2

    Decision: Reject the null hypothesis

  3. 3

    Contextual conclusion: There is convincing statistical evidence that the true proportion of teens who own smartphones is different between urban and rural populations.

5. Common Pitfalls

Wrong move:

Using unpooled standard error for a two-proportion significance test

Why:

The null hypothesis assumes , so pooling is required to get the correct standard error, and AP graders will deduct full points for this mistake

Correct move:

Always use the pooled proportion to calculate standard error for two-proportion z-tests, never use individual sample proportions

Wrong move:

Defining parameters using the collected sample groups instead of the full population

Why:

Hypotheses make claims about population values, not the data you collected, so this is a fundamental conceptual error

Correct move:

Explicitly state that and refer to the true, unknown proportions for the entire population of interest, not just your sample

Wrong move:

Stating 'we accept the null hypothesis' when p-value > Ξ±

Why:

You do not have evidence to prove the null is true, only that you do not have enough evidence to reject it

Correct move:

Always use the phrase 'fail to reject the null hypothesis' for non-significant results

Wrong move:

Checking the normality condition using individual sample counts instead of pooled counts

Why:

This can lead you to incorrectly think the normality condition fails when it actually passes, or vice versa

Correct move:

Sum successes across both groups, sum failures across both groups, confirm both totals are β‰₯ 10

Wrong move:

Writing a conclusion that does not reference the context of the original problem

Why:

AP Stats rubrics require conclusions to be tied to the specific scenario, generic conclusions get zero points for that step

Correct move:

Name the populations and the specific success outcome in your final conclusion, do not use generic terms like 'the two proportions'

6. Quick Reference Cheatsheet

Test Step

Required Action for Full AP Points

  1. Hypotheses

Define in full context, write and correct one/two-sided

  1. Conditions

Explicitly check Random, Independence (10% condition), Normality (pooled successes/failures β‰₯10)

  1. Calculations

Compute pooled p, pooled SE, z statistic, one or two-tailed p-value

  1. Conclusion

Compare p-value to Ξ±, state reject/fail to reject , write full contextual statement

7. Frequently Asked

Do I always need to use the pooled proportion for a two-proportion z-test?

Yes, for AP Statistics significance tests for two proportions, pooling is required when the null hypothesis states , as we assume the two populations have identical success proportions. You never use pooling for confidence intervals for the difference in two proportions.

What happens if the normality condition fails for my two-proportion test?

If pooled successes or pooled failures are less than 10, the sampling distribution of will not be approximately normal, and your calculated p-value will be unreliable. In this case, you should use a randomization test or Fisher's exact test instead.

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· FRQ 2

    Two-proportion test for vaccine efficacy

  • 2024 Β· MCQ Set 4

    Verify conditions for two-proportion z-test

  • 2023 Β· FRQ 1

    Calculate p-value for two-tailed test

Going deeper

What's Next

Mastery of two-proportion z-tests is one of the highest-weighted skills on the AP Statistics exam, appearing in nearly every recent FRQ section focused on inference. This skill directly builds on your prior work with one-proportion tests and sampling distributions for difference in proportions, and it is the required prerequisite for learning chi-square tests for homogeneity later in Unit 6. You will see this scenario tested both as a full 4-step FRQ and as multiple choice questions that ask you to identify correct conditions, calculate p-values, or spot flawed conclusions. Make sure to practice writing full, context-rich conclusions to avoid losing easy rubric points on exam day.