Mistake Master
Potential Errors When Performing Tests
Two Ways to Be Wrong, One Cutoff Between Them, and Only More Data Buys Both
You'll learnthe two errors a significance test can make and how to name each in context, why α is the false-alarm rate and β the miss rate against a stated alternative, how sliding the cutoff trades one for the other, and why sample size is the only lever that lowers both.
A test decides from a sample, so it can be wrong in two different ways: raise an alarm when nothing is happening, or miss something that is. Both errors are areas you can see. Draw the null's sampling distribution and the distribution the world would produce if the truth were 0.35, mark the rejection cutoff — computed here at 0.349, the line the last topic's two samples straddled — and α is the null curve's area past the cut while β is the truth curve's area on the near side. Slide the cut and the two areas trade: an α of 0.01 buys a β of 0.77. What escapes the trade is the sample size. At n = 250 this test misses a true 0.35 more than half the time; at n = 1000, five percent of the time, at the same α. And power is not 1 − α: it is 0.4873 here, on a different curve entirely. Twelve short steps; press Next for each one.
Read all 12 steps as text
Two worlds, and one sample to tell them apart
The blue curve is the samples of 250 a true rate of 0.40 would produce; the amber one is the samples the same survey would produce if the rate were really 0.35 — and they overlap across most of their width.
The test draws one line between them
Inverting the normal model at \(\alpha = 0.05\) turns the level into a rule about the data itself: reject when \(\hat{p} \le 0.349\) — the very line Topic 3.7's two samples, 0.352 and 0.348, landed either side of.
Cross the truth with the decision
Either \(H_0\) is true or it is not, and either the test rejects or it does not: four cells, two correct and two errors. A Type I error rejects a true null — a false alarm — and a Type II error fails to reject a false one, a missed detection.
α is the false-alarm rate
Shade the blue curve to the left of the line and you have \(\alpha\) itself: the samples a true claim would produce that happen to land in the rejection region, which is 5% of them by construction.
The miss is an area of the other curve
Now shade the amber curve to the right of the same line: those are the samples a true rate of 0.35 would produce that the test lets through, and there are 0.5127 of them — more than half.
A miss rate needs an address
Slide the truth from 0.38 down to 0.30 and the amber curve walks away from the line: \(\beta\) runs from 0.8434 to 0.0453 with the level untouched, so "the null is false" is not one world but many, each with its own miss rate.
Move the line and the mistakes swap
Now hold the truth at 0.35 and move the level instead: at \(\alpha = 0.10\) the cut sits at 0.360 and \(\beta\) is 0.3665, while at \(\alpha = 0.01\) the cut retreats to 0.328 and \(\beta\) climbs to 0.7679.
Four times the data pulls the curves apart
Hold both the level and the truth still and grow the sample instead: at \(n = 1000\) each curve is half as wide as it was, they barely overlap, and both shaded areas shrink at once.
Only more data lowers both
Three sample sizes, one level, one alternative: \(\beta\) against a true 0.35 falls from 0.5127 at \(n = 250\) to 0.2564 at 500 and 0.0520 at 1000, and \(\alpha\) stays at 0.05 throughout.
Power is the fourth cell
The amber curve's area on the reject side of the line is the test working: power, \(1 - \beta\), which here is 0.4873 — how often a real 0.35 actually gets noticed.
Power is not one minus alpha
\(1 - \alpha\) is 0.95 and it is an area of the blue curve — how often a true claim is correctly kept. Power is 0.4873 and it is an area of the amber one. Same test, same line, two different curves, and no arithmetic connects them.
Two areas, one line, one real lever
Every rate in this topic is one of the four cells with a number on it: \(\alpha = 0.05\), \(1 - \alpha = 0.95\), and against a true 0.35, \(\beta = 0.5127\) with power 0.4873 — and only a bigger sample lowers the two errors together.