"A hypothesis test is a courtroom in miniature: a presumption of one thing, an attempt to find evidence against it, and a decision rule for when the evidence has crossed a threshold."
The Structure
A frequentist hypothesis test has four moving parts:
- Null hypothesis (H₀): the default state of the world; usually 'no effect,' 'no difference,' 'the coin is fair.' This is what is presumed true unless the evidence overturns it.
- Alternative hypothesis (H₁): the claim you'd accept if the evidence is strong enough.
- Test statistic: a number computed from the data that captures the strength of evidence against H₀.
- Decision rule: a threshold (α, usually 0.05) above which the evidence is deemed strong enough to reject H₀.
The frame is asymmetric. H₀ is the default; H₁ is the challenger. We do not 'accept' H₀ when the evidence is weak; we 'fail to reject' it. This wording is not academic fussiness — it reflects the fact that failing to find evidence is not the same as confirming the negative.
The Courtroom Analogy
Track 06 will make this explicit, but it's worth previewing here. The legal system is a hypothesis test:
- H₀ = innocent (the presumption of innocence).
- H₁ = guilty.
- Test statistic = strength of the prosecution's evidence.
- Decision rule = 'beyond reasonable doubt' = a very small α.
The legal system's choice to set α very small reflects its judgment that Type I errors (convicting the innocent) are far worse than Type II errors (acquitting the guilty). The frame is the same as a statistical test; the calibration of α is the policy decision.
What Hypothesis Tests Cannot Do
A hypothesis test does not give you P(H₀ | data). It gives you P(data | H₀) — the probability of the data given the null. These two are different (the prosecutor's fallacy again). A hypothesis test also does not tell you the size of the effect — just whether the evidence is strong enough to reject H₀ at your chosen α. A statistically significant tiny effect and a statistically insignificant huge effect are both possible, and both are common.