"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 competing claim the test is designed to detect.
- Test statistic: a number computed from the data that captures the strength of evidence against H₀.
- Decision rule: a rule fixed in advance, often rejecting H₀ when a p-value is at or below α (commonly 0.05).
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. A criminal trial can be compared, by limited analogy, with a hypothesis test:
- H₀ = innocent (the presumption of innocence).
- H₁ = guilty.
- Test statistic = strength of the prosecution's evidence.
- Decision rule = the legal standard 'beyond reasonable doubt,' which has no fixed numerical α equivalent.
The analogy highlights that criminal procedure gives special weight to avoiding wrongful conviction. It does not make a trial a repeated statistical experiment, nor reduce legal safeguards and normative judgment to the calibration of one α.
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.