This course has been archived. The College Board updated AP Statistics for the 2026–27 school year, and the units and topics changed.
Go to the new AP® Statistics
6m left·0%
Reading Time: 6 min
Last Updated: March 13, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: March 13, 2026
Main Ideas: 5

Topic 6.11 Notes – Carrying Out a Test for the Difference of Two Population Proportions

Read aloud
You’re no longer just setting it up - you’re calculating the test statistic, finding the p-value, and making a formal decision about whether two population proportions differ. This is where the mechanics and the interpretation have to work together.

1. What a Two-Proportion z-Test Is

A two-proportion z-test compares two independent population proportions to see if there’s convincing evidence they are different.

  • Parameter of interest:

    p1−p2 p_1 - p_2 where
    p1p_1 = true proportion in Population 1
    p2p_2 = true proportion in Population 2

The null hypothesis usually says there is no difference:

H0:p1=p2orH0:p1−p2=0 H_0: p_1 = p_2 \quad \text{or} \quad H_0: p_1 - p_2 = 0

This test uses a normal model to approximate the sampling distribution of p^1−p^2\hat{p}_1 - \hat{p}_2, assuming the null is true.

You use this when:

  • The response variable is categorical (success/failure).
  • You have two independent groups.
  • You want to test a difference, not estimate it (that would be a confidence interval).

2. Hypotheses and Conditions

Writing Hypotheses in Context

Always define parameters in words.

Example structure:

  • p1p_1 = true proportion of registered voters in City A who support the policy
  • p2p_2 = true proportion of registered voters in City B who support the policy

Then:

H0:p1−p2=0 H_0: p_1 - p_2 = 0

Ha:p1−p2≠0(or > 0, or < 0 depending on the claim) H_a: p_1 - p_2 \neq 0 \quad \text{(or > 0, or < 0 depending on the claim)}

Be clear which group is 1 and which is 2. Order matters for interpretation.

Conditions for Using the Test

You need all of these:

  1. Random
    • Random sample or random assignment is stated.
  2. Independent Groups
    • The two groups are separate.
    • Not matched pairs.
  3. Independence Within Groups
    • 10% condition: each sample is less than 10% of its population (if sampling without replacement).
  4. Large Counts Condition

Because we assume p1=p2p_1 = p_2 under H0H_0, we use a pooled proportion when checking counts.

3. Calculating the Test Statistic

Here’s the structure. Everything comes from the general test statistic formula:

test statistic=statistic−parameter under H0standard error \text{test statistic} = \frac{\text{statistic} - \text{parameter under } H_0}{\text{standard error}}

Step 1: Sample Proportions

p^1=x1n1,p^2=x2n2 \hat{p}_1 = \frac{x_1}{n_1}, \quad \hat{p}_2 = \frac{x_2}{n_2}

Step 2: Pooled Proportion

Under H0H_0, we assume the proportions are equal, so we combine successes:

p^c=x1+x2n1+n2 \hat{p}_c = \frac{x_1 + x_2}{n_1 + n_2}

This estimates the common population proportion.

Step 3: Standard Error (Pooled)

SE=p^c(1−p^c)(1n1+1n2) SE = \sqrt{\hat{p}_c(1-\hat{p}_c)\left(\frac{1}{n_1} + \frac{1}{n_2}\right)}

Notice this uses pooled data. That’s specific to hypothesis tests.

Step 4: z Test Statistic

z=p^1−p^2−0SE z = \frac{\hat{p}_1 - \hat{p}_2 - 0}{SE}

The “− 0” comes from H0:p1−p2=0H_0: p_1 - p_2 = 0.

A large positive or negative zz means the observed difference is far from what we’d expect if the proportions were equal.

On your calculator, this is 2-PropZTest. You must record:

  • the z-value
  • the p-value

On an FRQ, forgetting to report z often costs a point.

4. Interpreting the P-Value and Making a Decision

What the P-Value Means

In context, it should sound like this:

The probability of observing a difference in sample proportions at least as extreme as the one found, assuming the true population proportions are equal.

That “assuming the true proportions are equal” part is required for full credit.

Formal Decision Rule

Compare p-value to α\alpha (often 0.05):

  • If p≤αp \le \alpha → Reject H0H_0
  • If p>αp > \alpha → Fail to reject H0H_0

Never say “accept H0H_0.”

Writing a Conclusion in Context

Your conclusion must:

  1. State the decision.
  2. Answer the research question.
  3. Refer to population proportions, not sample data.

Example wording:

Since the p-value is less than 0.05, we reject H0H_0. There is convincing statistical evidence that the true proportion of customers who prefer Brand A differs from the true proportion who prefer Brand B.

Notice it says true proportion and names the populations.

5. Common Mistakes

  • Using the unpooled standard error for a test. Pooling is required under H0H_0.
  • Interpreting the p-value as the probability that H0H_0 is true.
  • Forgetting to define p1p_1 and p2p_2.
  • Concluding about the sample instead of the populations.
  • Using this test for matched pairs data.

A quick mental check before submitting:
Two groups? Categorical outcome? Pooled SE? z and p-value reported? Conclusion about population proportions?

Key Takeaways

The test statistic is z=p^1−p^2p^c(1−p^c)(1/n1+1/n2)z = \frac{\hat{p}_1 - \hat{p}_2}{\sqrt{\hat{p}_c(1-\hat{p}_c)(1/n_1 + 1/n_2)}} where p^c\hat{p}_c is pooled.
Pooling happens because the null hypothesis assumes p1=p2p_1 = p_2.
The p-value must be interpreted assuming the null hypothesis is true.
“Fail to reject” does not mean the proportions are equal; it means there isn’t convincing evidence of a difference.
Conclusions must refer to the true population proportions in context, not just the sample results.

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

Notes

1 credit used · 5/5 remaining