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 . The alternative hypothesis Hₐ states what we suspect: , or . For a one-sample z-test for p, check random, 10% and large counts using the null value: and .
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
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.
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?
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:
Question 3 · SP 2 · Collect Data
Testing H₀: p = 0.05 with a random sample of 120, are the large counts conditions met?
Question 4 · SP 3 · Analyze Data
What does a significance test assume when it calculates how surprising the data are?
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.
- (a) State the hypotheses, defining the parameter.
- (b) Identify the test and verify the conditions.
Scoring guide: one point for each of the following
Part (a)
- H₀: p = 0.18; Hₐ: p < 0.18.
- p = the proportion of all the bank's online customers who report a login problem after the update.
Part (b)
- One-sample z-test for a population proportion.
- Random sample; 400 is less than 10% of all online customers; np₀ = 72 and n(1 − p₀) = 328 are both at least 10.
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.