AP Statistics 3.12 Setting Up a Test for the Difference Between Two Population Proportions Questions

Practise selecting a two-proportion z-test, writing hypotheses in context, and checking independence, sampling, and pooled large-count conditions.

7 questions in this syllabus scope, with question parts counted together.

Syllabus
Effective Fall 2026
Course
AP Statistics

Exam points

  • Choose a two-sample z-test for independent groups with a binary response and parameters p1 and p2.
  • Write H0: p1=p2 and align one- or two-sided alternatives with the stated research claim.
  • Check randomization, independence, 10%, and pooled expected successes and failures of at least 10.

3.12.A—Identify an appropriate testing method for the difference between population proportions including the parameters

2 more questions
  • Choose a two-sample z-test when two independent groups produce binary-response proportions.
  • Distinguish a two-proportion z-test from t-tests for means and one-proportion procedures.

Question 1

FRQ
[Maximum number: 1]

A new anti-spam software program is field-tested on 250 randomly selected spam emails and on 750 randomly selected legitimate emails. The results are summarized in the following table (positive test = program labels email as spam):

\begin{tabular}[t]{|l|l|l|l|}
& Spam & Legitimate & Total
Positive
test & 205 & 90 & 295
Negative
test & 45 & 660 & 705
Total & 250 & 750 & 1,000

The software developer claims that the proportion of all spam emails for which the tests are positive equals the proportion of all legitimate emails for which the tests are negative.

Figure for Question 1 — AP Statistics

Identify the appropriate inference procedure.

3.12.B—Identify the null and alternative hypotheses for the difference between population proportions

  • Define both population proportions in context before writing the hypotheses.
  • Write H0 as equal proportions and Ha as not equal for a two-sided difference claim.

Question 1

FRQ

A survey conducted by a national research center in 2018 asked a random sample of people over age 12 years old in the United States whether it is very important to them personally to have a lot of money. Responses are summarized based on age in the following table of counts.
\begin{tabular}[t]{|l|l|l|}
\hline & Adults & Teenagers \\
\hline Very important & 281 & 86 \\
\hline Not very important & 180 & 168 \\
\hline Total & 461 & 254 \\
\hline
\end{tabular}

Figure for Question 1 — AP Statistics

Identify the appropriate test and state the hypotheses.

3.12.C—Justify the appropriateness of a hypothesis test for the difference between two population proportions by…

2 more questions
  • Check for two independent random samples or a randomized experiment before using the z-test.
  • Use the pooled null proportion to verify all four expected success and failure counts are at least 10.
  • Reject the procedure for paired before-and-after responses because observations are not independent.

Question 1

FRQ

Show all your work. Indicate clearly the methods you use, because you will be scored on the correctness of your

methods as well as on the accuracy and completeness of your results and explanations.

A study was conducted with 50 volunteers to investigate whether yawning is contagious. Each volunteer was

randomly assigned to one of two groups: Group A or Group B. Each person in Group A was shown a video in

which someone yawned, and each person in Group B was shown a video in which no one yawned. Of the 34

people assigned to Group A, 11 yawned, and of the 16 people assigned to Group B, 3 yawned.

Explain why it is inappropriate to use a two-sample z-test for proportions to test the following hypotheses.

H0:pA=pBHa:pA>pB\begin{aligned} & \mathrm{H}_{0}: p_{\mathrm{A}}=p_{\mathrm{B}} \\ & \mathrm{H}_{\mathrm{a}}: p_{\mathrm{A}}>p_{\mathrm{B}} \end{aligned}