AP Statistics · Unit 3 · Topic 3.7

    3.7 Carrying Out a Test for a Population Proportion

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    A one-sample z-test for p follows four steps: State (hypotheses, α, parameter), Plan (name the test, check conditions), Do (test statistic and p-value), Conclude (compare with α, answer in context). The test statistic is z=p^−p0p0(1−p0)/nz = \dfrac{\hat{p} - p_0}{\sqrt{p_0(1-p_0)/n}}: how many standard deviations the sample proportion lies from the null value.

    What you need to know

    • Calculate the standardized test statistic for a one-proportion z-test.
    • Find the p-value from the standard normal distribution.
    • Carry out all four steps of a significance test.
    • Write a conclusion linked to α and Hₐ in context.

    The test statistic

    Every standardized test statistic in AP Statistics has the same shape: (statistic − null value) ÷ (standard deviation of the statistic). For a proportion, the standard deviation uses p₀ because the calculation assumes H₀ is true.

    z=p^−p0p0(1−p0)nz = \frac{\hat{p} - p_0}{\sqrt{\dfrac{p_0(1-p_0)}{n}}}

    A z of 0 means the sample matched the null value exactly. The further z is from 0 in the direction of Hₐ, the smaller the p-value and the stronger the evidence against H₀.

    Worked example: four steps

    In a random sample of 500 students at a large university, 290 (p̂ = 0.58) said they get less than eight hours of sleep on school nights. Is there convincing evidence that more than half of all students at the university get less than eight hours? Use α = 0.05.

    State. H₀: p = 0.5; Hₐ: p > 0.5, where p is the proportion of all students at the university who get less than eight hours of sleep on school nights. α = 0.05.

    Plan. One-sample z-test for a population proportion. Random: random sample of students. 10%: 500 is less than 10% of all students at the university. Large counts: np₀ = 250 and n(1 − p₀) = 250 are both at least 10.

    z=0.58−0.50.5(0.5)500=0.080.02236≈3.58p-value=P(Z≥3.58)≈0.00017z = \frac{0.58 - 0.5}{\sqrt{\dfrac{0.5(0.5)}{500}}} = \frac{0.08}{0.02236} \approx 3.58 \qquad \text{p-value} = P(Z \geq 3.58) \approx 0.00017

    Do. z ≈ 3.58 and p-value ≈ 0.00017, from the normal distribution with mean 0 and standard deviation 1 (or a calculator's 1-PropZTest).

    Conclude. Because the p-value of 0.00017 is less than α = 0.05, we reject H₀. There is convincing evidence that more than half of all students at the university get less than eight hours of sleep on school nights.

    When the result is not significant

    A different sample of 400 gives 212 (p̂ = 0.53). Then z = (0.53 − 0.5)/0.025 = 1.20 and the p-value is about 0.115. Because 0.115 > 0.05, we fail to reject H₀: there is not convincing evidence that more than half of all students at the university get too little sleep. The sample still had more than half, but a result like 0.53 would happen about 11.5% of the time by chance even if p were exactly 0.5.

    A confidence interval adds information a test cannot: a plausible range for p. Many teachers like students to follow a significant test with an interval, so the conclusion says not just 'more than half' but roughly how many more.

    Key terms

    Standardized test statistic
    (statistic − null value) ÷ standard deviation of the statistic.
    One-sample z-test for p
    A significance test about a single population proportion using a normal model.
    State–Plan–Do–Conclude
    The four-step structure for inference answers on the AP exam.
    1-PropZTest
    Calculator routine that returns z and the p-value for a one-proportion test.

    Common mistakes

    • Using p̂ in the denominator of z.

      A test uses p₀ in the standard deviation.

    • Concluding 'H₀ is false' or 'Hₐ is proven'.

      Say there is (or is not) convincing evidence for Hₐ, in context.

    • Stopping at 'reject H₀'.

      Finish with a sentence about the parameter in context.

    How this topic is tested

    • Use all four steps, even when the question only says 'Do the data provide convincing evidence…?'
    • Show the formula with numbers substituted, then z and the p-value.
    • Write the conclusion with 'because p-value … α'.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · SP 3 · Analyze Data

      Testing H₀: p = 0.20 with n = 100 and p̂ = 0.27, the test statistic is:

    2. Question 2 · SP 3 · Analyze Data

      For Hₐ: p < 0.60, the test gives z = −2.30. The p-value is about:

    3. Question 3 · SP 4 · Interpret Results

      A test gives p-value 0.12 at α = 0.10. Which conclusion is right?

    4. Question 4 · SP 3 · Analyze Data

      Why does the z-test for p use p₀ in the standard deviation?

    5. Question 5 · SP 3 · Analyze Data

      In a two-sided test, z = 1.96. The p-value is about:

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Inference (full test) · 5 points

    Last year 18% of a bank's online customers reported a login problem. After an update, a random sample of 400 online customers found 58 (p̂ = 0.145) reporting a problem. Do the data give convincing evidence that the proportion has fallen? Use α = 0.05.

    1. (a) State hypotheses and check conditions.
    2. (b) Calculate the test statistic and p-value.
    3. (c) Conclude in context.

    Connected topics

    Frequently asked questions

    Do I have to write the formula?

    Writing the formula with the numbers substituted shows your work and protects you if you mistype into the calculator; it's strongly recommended.

    Can I use a table instead of a calculator?

    Yes, but the exam is digital with a built-in graphing calculator, so most students use normalcdf or 1-PropZTest.

    What if the conditions fail?

    Say the conditions are not met and that the p-value may not be accurate; don't silently carry on.

    How this shows up on the exam42 multiple-choice questions and 4 free-response questions of 10 points. See what each one asks you to do.Full-length AP Statistics practice examsUnit 3 is one of 5 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 3 cheat sheet

    Every topic in Unit 3: Inference for Categorical Data: Proportions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Statistics practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 3 practice test: 75 questions with explanations

    All topics in Unit 3: Inference for Categorical Data: Proportions

    1. 3.1 Estimators
    2. 3.2 Sampling Distributions for Sample Proportions
    3. 3.3 Constructing a Confidence Interval for a Population Proportion
    4. 3.4 Justifying a Claim Based on a Confidence Interval for a Population Proportion
    5. 3.5 Setting Up a Test for a Population Proportion
    6. 3.6 p-Values
    7. 3.7 Carrying Out a Test for a Population Proportion
    8. 3.8 Potential Errors When Performing Tests
    9. 3.9 Sampling Distributions for the Difference Between Sample Proportions
    10. 3.10 Constructing a Confidence Interval for the Difference Between Two Population Proportions
    11. 3.11 Justifying a Claim Based on a Confidence Interval for the Difference Between Two Population Proportions
    12. 3.12 Setting Up a Test for the Difference Between Two Population Proportions
    13. 3.13 Carrying Out a Test for the Difference Between Two Population Proportions
    14. 3.14 Setting Up a Chi-Square Test for Homogeneity or Independence
    15. 3.15 Carrying Out a Chi-Square Test for Homogeneity or Independence

    Other units in AP Statistics

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