The hypothesis-test machine
A hypothesis test asks one question: is my result surprising enough to doubt the claim? Assume the claim is true, work out the probability of a result this extreme or worse, and if that's below your agreed line, it's too unlikely to be luck — so you reject the claim.
The 6-step machine (binomial)
The whole chapter rides on one idea you can see. Take a die you suspect is loaded towards six and roll it 16 times. One six proves nothing; sixteen sixes would be damning. Somewhere between is a cut-off — the smallest count of sixes too unlikely to happen by chance on a fair die. That cut-off is the entire machine.
Assuming the die is fair, . Add up the tail: but . If we draw the line at 5%, then 6 sixes is the first result that drops below it — that is where “unlucky” becomes “suspicious”.
The significance level is the line you draw before looking; the critical value is the first outcome whose tail falls below it.
- Define: “Let number of … , .”
- Hypotheses about the parameter (never the data): , or .
- State the significance level (usually 5%).
- Test statistic = the tail probability assuming : for a suspected decrease, for an increase.
- Compare with the significance level.
- Conclude in context: tail < level → reject; tail > level → accept. Never say “proved.”
Worked example
The machine end-to-end (drivers crashing)
Drivers crash 40% of the time on a simulator; after training, 4 of 20 crash. Test at 5% for a reduction.
- Let number who crash, .
- , (training aims to reduce).
- Significance level 5%.
- Suspected decrease → lower tail: .
- .
- Do not reject .
There is insufficient evidence that the crash rate has fallen.
With 3 crashes instead, P(X≤3) = 1.60% < 5% → reject. One fewer crash flips the verdict — that gap is exactly where the critical value sits.
Worked example
A cleaner increase, at a 4% level (spinner)
A regular pentagonal spinner is spun 10 times and lands on red 5 times. Test at 4% whether it is biased towards red.
- Let spins landing red, (one face in five).
- , (suspected increase).
- Increase → upper tail: .
- → reject .
There is evidence the spinner is biased towards red.
Note the upper-tail shortcut , and that the level need not be 5%. Had it landed red only 4 times, P(X≥4) = 12.1% > 4% → accept.
The test statistic is a TAIL (a region), not a single P(X = x). Comparing P(X = x) with the level is the single most common way to lose every mark on the question.
Worked example
A real exam trap: tail, not point
A researcher believes boys are equally likely to pick a green or orange cube; she offers both to 10 boys and 8 pick green. She tests vs at 5%.
A student writes and rejects . This scores zero method: the test statistic must be the tail , not the point.
. Since , do not reject .
So there is insufficient evidence that boys prefer green.
(9709/62/O/N/23 Q3) — the examiner explicitly awards the “invalid” mark for spotting that a point probability is the wrong statistic.
Why a tail, never a single bar
Any single outcome is rare when is large — even the most likely count has a small . What makes a result evidence is that it sits in a band of equally-or-more-extreme outcomes that together are unlikely. That band is the tail, so the test statistic is always cumulative: or .
Finding the rejection region (and the critical value)
Instead of testing one observation, a question may ask for the whole rejection region: every outcome that would lead to rejection. Walk the tail inward until it first exceeds the level — the last outcome still inside is the critical value.
Worked example
Build the rejection region, then reverse it
10% of people are left-handed; among 50 players you suspect fewer are. , , level 5%.
but , so the region stops at 1.
Reverse version: “if the critical value is 2, what is the least integer significance level?” Since P(X≤2) = 11.2%, you need at least a 12% level for 2 to be the cut-off.
Drag the significance level below and watch the rejection region grow — a lower level means a smaller region and a more demanding test.
H₁: p < 0.4 (lower tail)·critical region X ≤ 3, P(X ≤ 3) = 1.60%
| Wording | H₁ | Test statistic |
|---|---|---|
| decrease / fewer / lower | ||
| increase / more / higher | ||
| changed / different / biased | relevant tail vs α/2 |
Examiner note
Common mistake