Setting Up a Test for a Population Proportion
AP Statistics
1. Writing Valid Hypotheses for a Population Proportionβ β ββββ± 8 min
All AP Statistics hypothesis test responses require you to explicitly define the population parameter first, before writing any hypothesis statements. This eliminates ambiguity and prevents automatic notation point deductions.
Null Hypothesis for Population Proportion
A claim that the true population proportion p equals a fixed pre-specified baseline value, representing no effect or no difference from the known reference value.
Alternative Hypothesis
A claim that contradicts the null hypothesis, representing the research effect you are attempting to find evidence for. It may be one-sided (<, >) or two-sided (β ).
A bakery claims 70% of their weekly sales come from sourdough loaves. A part-time baker believes the true proportion is lower than the claimed value. Write fully valid hypotheses for a significance test.
- 1
Step 1: Explicitly define the parameter first: Let p = the true proportion of all bakery weekly sales that come from sourdough loaves.
- 2
Step 2: Write the null hypothesis using the bakery's claimed baseline value:
- 3
- 4
Step 3: Write the alternative hypothesis matching the baker's one-sided lower claim:
- 5
Exam tip:
AP rubrics deduct 1 full point if you use the sample statistic (\hat{p}) instead of the population parameter p in your hypotheses, no exceptions.
2. Verifying the Three Mandatory Inference Conditionsβ β β βββ± 10 min
Before you can proceed with any calculations for a one-proportion z-test, you must state and justify all three conditions. AP graders will not award full credit for test setup if any condition is missing or incorrectly justified.
Random: The data must come from a simple random sample (SRS) or properly randomized experiment to avoid selection bias.
Independence: When sampling without replacement, the total population size must be at least 10 times the sample size to ensure individual observations are independent.
Large Counts: The expected number of successes (n p_0) and failures (n(1-p_0)) under the null hypothesis must both be β₯ 10 to use the normal approximation for the sampling distribution.
You select a random sample of 120 bakery transactions to test the 70% sourdough sales claim. Verify all three conditions for a valid z-test.
- 1
Step 1: Random: The problem explicitly states the sample is random, so this condition is satisfied.
- 2
Step 2: Independence: The bakery has far more than 10 * 120 = 1200 total weekly transactions, so the 10% condition holds.
- 3
Step 3: Large Counts: Calculate expected successes and failures using (p_0 = 0.7):
- 4
- 5
Both values are β₯ 10, so the large counts condition is satisfied.
3. Selecting an Appropriate Significance Level Ξ±β β β βββ± 7 min
The significance level Ξ± defines the maximum probability you are willing to accept of incorrectly rejecting a true null hypothesis. It must always be selected before you collect or view any sample data to avoid p-hacking.
A consumer safety group tests if the proportion of underweight snack packages from a factory is above the 1% legal limit. They want to minimize false accusations against the factory. Select an appropriate Ξ± and justify your choice.
- 1
Step 1: Identify that the priority is reducing Type I error (incorrectly concluding the proportion is above 1% when it is not).
- 2
Step 2: Select Ξ± = 0.01, which sets a very low threshold for false positives, aligning with the safety group's priority of avoiding unfair accusations.
4. One-Tailed vs Two-Tailed Test Setupβ β β βββ± 9 min
The direction of your alternative hypothesis is determined exclusively by the original research question, not by any results you observe in your sample data. Changing the alternative after seeing data is statistically invalid.
The two valid alternative hypothesis formats for population proportion tests are used in distinct scenarios:
One-Sided Test
Uses (H_a: p < p_0) or (H_a: p > p_0), applied when the research question explicitly specifies a direction of difference from the baseline value.
+ Pros: Higher statistical power to detect a difference in the pre-specified direction
β Cons: Cannot be used to claim a difference in the opposite direction of your original hypothesis
Two-Sided Test
Uses (H_a: p \neq p_0), applied when the research question only asks if the true proportion differs from the baseline, with no specified direction.
+ Pros: Accounts for differences in both higher and lower directions
β Cons: Lower statistical power for detecting a difference in a single specific direction
A city transit authority claims 55% of local commuters use the bus system. A researcher wants to test if the true proportion is different from the claimed value, with no prior assumption of direction. Write the correct alternative hypothesis.
- 1
Step 1: Confirm the research question does not specify if the true proportion is higher or lower than 55%, only that it is different.
- 2
Step 2: Use a two-sided alternative hypothesis:
- 3
Test your understanding of valid test setup rules:
Which of the following is a statistically valid alternative hypothesis for a one-proportion z-test?
H_a: \hat{p} = 0.62
H_a: p = 0.62
H_a: p > 0.62
H_a: \hat{p} > 0.62
Reveal answer
H_a: p > 0.62 βHypotheses always refer to the population parameter p, not the sample statistic (\hat{p}), and the alternative hypothesis can never contain an equals sign.
5. Common Pitfalls
Wrong move:
Writing hypotheses using the sample proportion (\hat{p}) instead of the population parameter p
Why:
AP rubrics deduct 1 full point for this notation error, as hypotheses are statements about population values, not sample results
Correct move:
Explicitly define p first, then write both hypotheses using the population parameter notation
Wrong move:
Using sample counts (n\hat{p}) and (n(1-\hat{p})) to check the Large Counts condition
Why:
The Large Counts condition calculates expected values under the null hypothesis, not observed sample values
Correct move:
Always use the null hypothesized value (p_0) to calculate the two large counts values
Wrong move:
Setting the direction of the alternative hypothesis after viewing sample data
Why:
This is a form of p-hacking that inflates your chance of a false positive result, making the test statistically invalid
Correct move:
Finalize your null and alternative hypotheses before collecting or accessing any sample data
Wrong move:
Skipping explicit justification of the 10% independence condition
Why:
AP graders require you to confirm the population is at least 10 times the sample size to award full credit for independence
Correct move:
Write a clear 1-sentence justification that the population size is β₯ 10n for your sample
Wrong move:
Setting the null hypothesis value equal to a value calculated from your sample data
Why:
The null hypothesis is a pre-defined baseline, not a value derived from the data you are testing
Correct move:
The null value (p_0) must come from a prior claim, published study, or established baseline, not your sample
6. Quick Reference Cheatsheet
Test Setup Component | Required AP Justification | Mistake to Avoid |
|---|---|---|
Hypotheses | Define p first, (H_0: p=p_0), (H_a) matches research direction | Using (\hat{p}) instead of p |
Random Condition | Confirm sample is random/representative | Skipping explicit statement |
Independence Condition | Population β₯ 10 * sample size | Ignoring the 10% rule |
Large Counts | (n p_0 \geq 10), (n(1-p_0) \geq 10) | Using (\hat{p}) instead of (p_0) |
Significance Level | Select Ξ± before viewing sample data | Changing Ξ± after seeing results |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2023 Β· Paper 1
Hypothesis writing and condition check
- 2022 Β· Paper 2
Two-tailed test setup scenario
- 2021 Β· Paper 1
Significance level selection
What's Next
Mastering test setup is the highest-weight first step of any one-proportion z-test free response question on the AP exam, as graders award separate points for correct hypotheses, condition checks, and parameter definition before you even calculate a test statistic. Mistakes in setup will automatically lose points even if your later calculations are perfect, so prioritize practicing this step for every inference problem you solve. Next you will learn to calculate the z-test statistic and p-value for a one-proportion test, then move on to drawing correct conclusions from your test results fully aligned to AP rubric standards.
