"You know P(evidence | hypothesis). You want P(hypothesis | evidence). Bayes' rule is the price of admission."
The One Move Underneath Everything
The previous four lessons built up to this. Bayes' rule is a single line:
P(H | E) = P(E | H) × P(H) / P(E)
That is the inversion of a conditional. Most science gives you the forward direction — given a hypothesis, what does the evidence look like? Most decisions need the backward direction — given the evidence I just observed, what is the hypothesis? The forward arrow runs from cause to effect. The backward arrow runs from effect to cause. Bayes' rule is how you turn the arrow around without breaking it.
The Four Pieces, Named
- Prior P(H) — what you believed about the hypothesis BEFORE seeing the evidence. The most underrated piece. You always have a prior, even when you pretend you don't.
- Likelihood P(E | H) — how surprised you would be by this evidence IF the hypothesis were true. This is the part scientists usually compute.
- Evidence P(E) — how often the evidence shows up overall, across all possible hypotheses. The normalizing constant.
- Posterior P(H | E) — what you believe about the hypothesis AFTER updating on the evidence. The answer you actually wanted.
One sentence summary: posterior is the prior reweighted by how well the hypothesis explains the evidence.
The Medical-Test Disaster
Consider a disease that affects 1 in 1,000 people in the general population — prior P(sick) = 0.001. A test for this disease has a 99% true-positive rate (P(positive | sick) = 0.99) and a 5% false-positive rate (P(positive | healthy) = 0.05). You test positive. What is P(sick | positive)?
Citizen guess: 99%. Almost everyone says that, including a worrying fraction of medical professionals when asked cold.
Bayes' answer: about 2%. The 99% test accuracy is the likelihood, not the posterior. Because the disease is rare to begin with, even a sensitive test produces far more false positives than true positives in the overall population. The posterior depends on the prior in a way intuition refuses to honor.
This is not a textbook curiosity. It is the canonical reason people panic over routine screening results, lawyers misrepresent DNA evidence, and policymakers misallocate resources. We will dismantle the full version in Track 08 (Bayesian Frame) with full numbers and a courtroom analog in Track 06. For now: the prior is load-bearing, and citizens habitually drop it.