AP Statistics · Unit 3 · Topic 3.5

    3.5 Setting Up 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 significance test asks whether sample data give convincing evidence against a claim. The null hypothesis H₀ states the claim of no change or no effect, such as H0:p=0.40H_0: p = 0.40. The alternative hypothesis Hₐ states what we suspect: p>0.40p > 0.40, p<0.40p < 0.40 or p≠0.40p \neq 0.40. For a one-sample z-test for p, check random, 10% and large counts using the null value: np0≥10np_0 \geq 10 and n(1−p0)≥10n(1-p_0) \geq 10.

    What you need to know

    • Explain the logic of a significance test.
    • Write null and alternative hypotheses about a population proportion, defining p in context.
    • Decide whether a test should be one-sided or two-sided.
    • Verify the conditions for a one-sample z-test for p.

    The logic of a test

    A shopping app's owner believes 40% of customers use the app. A manager suspects the true figure is now higher. In a random sample of 300 customers, 138 use the app: p̂ = 0.46. Is 0.46 far enough above 0.40 to be convincing, or could a random sample from a population with p = 0.40 easily give 0.46 by chance?

    A significance test answers by assuming the null hypothesis is true and asking how surprising the observed result would be. If it would be very surprising, that is evidence against H₀. If it would be quite ordinary, the data are consistent with H₀. This is like a court: the defendant is presumed innocent (H₀) unless the evidence is convincing.

    Writing hypotheses

    H0:p=0.40Ha:p>0.40H_0: p = 0.40 \qquad H_a: p > 0.40

    where p is the proportion of all the shop's customers who use the app. Hypotheses are always about the parameter (p), never the statistic (p̂): we already know p̂ = 0.46. The alternative comes from the question the researcher had before seeing the data.

    • One-sided (> or <): the research question has a direction ('higher', 'less than', 'improves').
    • Two-sided (≠): the question is whether the value is different, in either direction ('has the proportion changed?').

    Conditions for a one-sample z-test for p

    • Random: the data come from a random sample of customers (or a randomized experiment).
    • 10%: 300 is less than 10% of all the shop's customers.
    • Large counts: with p₀ = 0.40, np₀ = 300(0.40) = 120 and n(1 − p₀) = 180 are both at least 10.

    Before collecting data, also choose a significance level α, often 0.05: the cut-off for how small a p-value must be to count as convincing. Topic 3.6 explains p-values, and topic 3.7 carries this test out.

    If any condition fails, say so plainly: the p-value from a normal model may then be inaccurate, and the conclusion should be treated with caution.

    Key terms

    Significance test
    A procedure for using sample data to judge the evidence against a claim about a parameter.
    Null hypothesis H₀
    The claim being tested, usually of no change or no difference, stated with '='.
    Alternative hypothesis Hₐ
    The claim we look for evidence for, stated with >, < or ≠.
    One-sided / two-sided
    Whether Hₐ looks for a difference in one direction or in either direction.
    Significance level α
    The threshold chosen in advance below which a p-value is considered convincing evidence against H₀.

    Common mistakes

    • Writing hypotheses with p̂.

      Hypotheses are about the parameter p.

    • Choosing a one-sided Hₐ because the data happen to go that way.

      The direction must come from the research question, set before seeing the data.

    • Checking large counts with p̂ in a test.

      Use p₀: np₀ and n(1 − p₀).

    How this topic is tested

    • Write H₀ and Hₐ with symbols and define p in context.
    • Name the test: 'one-sample z-test for a population proportion'.
    • Show all three conditions with numbers and context.

    Practice questions

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

    1. Question 1 · SP 1 · Formulate Questions

      A school says 70% of students complete homework on time. A teacher suspects it's lower. Which hypotheses are correct?

    2. Question 2 · SP 1 · Formulate Questions

      A researcher asks whether the proportion of left-handed people in a region differs from the national 10%. The alternative hypothesis is:

    3. Question 3 · SP 2 · Collect Data

      Testing H₀: p = 0.05 with a random sample of 120, are the large counts conditions met?

    4. Question 4 · SP 3 · Analyze Data

      What does a significance test assume when it calculates how surprising the data are?

    5. Question 5 · SP 2 · Collect Data

      In the app example, the sample size is 300. Which statement checks the 10% condition properly?

    Free-response practice

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

    Inference (set-up) · 4 points

    Last year 18% of a bank's online customers reported a login problem. After an update, the bank takes a random sample of 400 online customers to see whether the proportion has fallen.

    1. (a) State the hypotheses, defining the parameter.
    2. (b) Identify the test and verify the conditions.

    Connected topics

    Frequently asked questions

    Why is H₀ always an equals statement?

    The calculations need one specific value of p to assume. It represents the status quo or the claim being challenged.

    Can I switch from two-sided to one-sided after looking at the data?

    No. That inflates the chance of a false conclusion; the alternative must reflect the original question.

    What α should I use?

    Use the level the question gives. If none is given, 0.05 is the usual choice; say so.

    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.