AP Statistics 3.13 Carrying Out a Test for the Difference Between Two Population Proportions Questions

Carry out a two-proportion hypothesis test by calculating pooled evidence, interpreting its p-value, and concluding about both populations.

Syllabus
Effective Fall 2026
Course
AP Statistics

Exam points

  • pool successes across both groups under H0 to compute the two-proportion z-test standard error
  • use the alternative direction to calculate a one- or two-sided p-value from standard normal tails
  • estimate a randomization p-value by counting simulated differences at least as extreme as observed
  • interpret the p-value as a tail probability assuming the two contextual population proportions are equal
  • compare the p-value with alpha to reject or fail to reject equal population proportions

Question 1

[Maximum number: 7]

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|}
\hline & Spam & Legitimate & Total \\
\hline Positive
test & 205 & 90 & 295 \\
\hline Negative
test & 45 & 660 & 705 \\
\hline Total & 250 & 750 & 1,000 \\
\hline
\end{tabular}
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

Question (a)

(a)

Complete the inference procedure, including calculations.

[ 5 ]

Question (b)

(b)

Justify a conclusion in context.

[ 2 ]

Question 2

[Maximum number: 4]

A large exercise center has several thousand members from age 18 to 55 years and several thousand members age 56 and older. The manager of the center is considering offering online fitness classes. The manager is investigating whether members' opinions of taking online fitness classes differ by age. The manager selected a random sample of 170 exercise center members ages 18 to 55 years and a second random sample of 230 exercise center members ages 56 years and older. Each sampled member was asked whether they would be interested in taking online fitness classes.

The manager found that 51 of the 170 sampled members ages 18 to 55 years and that 79 of the 230 sampled members ages 56 years and older said they would be interested in taking online fitness classes.

At a significance level of α=0.05\alpha=0.05, do the data provide convincing statistical evidence of a difference in the proportion of all exercise center members ages 18 to 55 years who would be interested in taking online fitness classes and the proportion of all exercise center members ages 56 years and older who would be interested in taking online fitness classes? Complete the appropriate inference procedure to justify your response.

All question bank results loaded