3.13 - Carrying Out a Test for the Difference Between Two Population Proportions
Overview
Once the test is set up (Topic 3.12), you calculate the test statistic and -value, compare the -value to the significance level, and state a conclusion in context. This topic covers those steps for the two-sample -test for the difference between two population proportions, with complete four-step write-ups like the ones the AP exam scores.
The test statistic
The test statistic measures how far the observed difference in sample proportions is from the difference claimed by (which is 0), in standard errors:
Piece by piece:
- Numerator: the observed difference, , minus the hypothesized difference, 0.
- Denominator: the standard error of when is true. Since says , both samples estimate the same proportion, so the formula uses the combined proportion (total successes over total sample size). It's the "When is assumed" line on the AP formula sheet.
- The value of : how many standard errors the observed difference is from 0. The larger is, the harder the data are to explain by chance alone. A positive means came out larger than .
This matches the formula sheet's general form, . When is true and the conditions are met, has (approximately) a standard normal distribution, , and that's what lets you find a -value.
Finding the -value
The -value is an area under the standard normal curve, found with a table or technology. Which area depends on :
Alternative hypothesis | -value | Area |
Right tail | ||
Left tail | ||
Both tails |
- Normal table: the table gives the area to the left of . For a right tail, subtract it from 1. For a two-sided test, double the tail area.
- The whole test at once: STAT, TESTS,
2-PropZTest. Enter , , , (the counts of successes and the sample sizes, as whole numbers), choose the direction of , and Calculate. It reports , the -value, , , and (the combined proportion).
- Just a tail area:
normalcdf(lower, upper, 0, 1), with1E99or-1E99for an open end.
If you use the calculator on the exam, still name the procedure in words and report and the -value with labels. Writing the formula with your numbers plugged in protects you: if you mistype a number, the reader can still see your method.
Interpreting the -value
The -value is the probability of getting a test statistic as extreme as or more extreme than the one observed (in the direction of ), assuming is true. For this test, "assuming is true" means assuming the two population proportions are equal. A template:
Assuming [the true proportions are equal, in context], there is a [-value] probability of getting a difference in sample proportions ([group 1] minus [group 2]) of [observed difference] or [more / less / more in either direction] by chance alone.
In an experiment, "by chance" means by chance in the random assignment. With random samples, it means by chance in the random sampling. A small -value says the observed difference would be surprising if there were really no difference. It is not the probability that is true.
Making the decision
A formal decision compares the -value to the significance level out loud, with both numbers written down:
Comparison | Decision | What it means |
-value | Reject | There is convincing evidence for . |
-value | Fail to reject | There is not convincing evidence for . |
Use if the problem doesn't give one, and say so. "The -value is small, so reject" doesn't earn the point. "Because the -value of 0.0031 is less than , we reject " does.
Writing the conclusion
The test's result is the statistical reasoning behind your answer to the study's question. The conclusion must:
- be in context, referring to the parameters and the populations (or treatments);
- be stated in terms of : "there is convincing evidence that [ in context]" or "there is not convincing evidence that [ in context]";
- use non-definitive language: never "proves," and never "accept ." Failing to reject doesn't show the proportions are equal. It means the data aren't strong enough to show a difference.
Also mind the scope. Random samples let you generalize to the populations that were sampled. Random assignment lets you say the treatment caused the difference, for subjects like those in the study.
The four steps
Step | What to write |
State | The hypotheses, with both parameters defined in context, and |
Plan | The name of the test, and the randomization, 10%, and normality conditions checked in context |
Do | The sample proportions, , the test statistic, and the -value |
Conclude | The -value compared to , the decision, and a conclusion in context in terms of |
Example 1: Reminder emails and dental cleanings (AP-style)
A dental clinic recruited 360 volunteers who were overdue for a cleaning and randomly assigned 240 of them to get a reminder email and the other 120 to get no reminder. Within 30 days, 108 patients in the email group and 36 in the no-reminder group booked a cleaning. Do the data give convincing evidence, at , that reminder emails increase the proportion of patients who book a cleaning?
State: Let = the true proportion of patients like these who would book a cleaning within 30 days with a reminder email, and = the true proportion who would book a cleaning within 30 days with no reminder.
Plan: Two-sample -test for the difference between two population proportions. Check the conditions:
- Randomization: patients were randomly assigned to the two groups.
- 10%: not needed, since this is a randomized experiment.
- Normality: , and the counts , , , and are all at least 10.
Do:

The observed difference is 2.74 standard errors above 0, and the -value is the tiny shaded area to the right of .
Interpret the -value: Assuming reminder emails make no difference (the true proportions of patients like these who book a cleaning within 30 days are equal with and without a reminder), there is about a 0.0031 probability of getting a difference in sample proportions (email minus no reminder) of 0.15 or more by chance in the random assignment.
Conclude: Because the -value of 0.0031 is less than , we reject . There is convincing evidence that the true proportion of patients like these who book a cleaning within 30 days is higher with a reminder email than with no reminder. Because the reminders were randomly assigned, we can conclude the reminder emails caused the increase, for patients like the volunteers in this study.
Calculator check:
2-PropZTest with , , , , and gives and . This agrees with Topic 3.11, where the 90% interval for , , sat entirely above 0.Example 2: Electric vehicles in two cities
A researcher took a random sample of 280 households from City A (about 180,000 households) and a separate random sample of 340 households from City B (about 240,000 households). In City A, 56 sampled households own at least one EV; in City B, 51 do. Is there convincing evidence, at , that the proportion of households that own an EV differs between the two cities?
State: Let = the true proportion of all households in City A that own at least one EV, and = the true proportion of all households in City B that own at least one EV.
Plan: Two-sample -test for the difference between two population proportions.
- Randomization: independent random samples of households from the two cities.
- 10%: and .
- Normality: , so the counts are about 48.3, 231.7, 58.7, and 281.3, all at least 10.
Do:

Interpret the -value: Assuming the true proportions of households that own an EV are the same in City A and City B, there is about a 0.101 probability of getting a difference in sample proportions of 0.05 or more, in either direction, by chance in the random sampling.
Conclude: Because the -value of 0.101 is greater than , we fail to reject . There is not convincing evidence that the proportion of all households that own an EV differs between City A and City B.
This does not show the two cities have the same proportion. A sample difference this large would happen about 10% of the time even if the cities were identical, so the data just aren't strong enough to show a difference.
Common mistakes
- Mixing up standard errors: the test statistic uses , the same combined proportion the calculator's
2-PropZTestuses. The separate and version belongs to the confidence interval.
- Wrong tail: forgetting to double the tail area for a two-sided test, or doubling it for a one-sided test.
- Misreading the -value: calling it the probability that is true, or leaving out "assuming is true."
- A decision with no comparison: say how the -value compares to , with both numbers.
- Accepting : writing "the proportions are equal" after failing to reject.
- Wrong scope: claiming cause and effect from random samples, or generalizing an experiment on volunteers to everyone.