"P(evidence | hypothesis) and P(hypothesis | evidence) are different questions. Bayes' rule connects them through the prior and competing explanations."
The Structure
P(H | E) = P(E | H) × P(H) / P(E)
Knowing how probable evidence E is under hypothesis H does not by itself tell you how probable H is after observing E. You also need the prior probability of H and how well the alternatives predict E. This is a relation between conditional probabilities, not necessarily a reversal from physical effect to physical cause.
The Four Pieces
- Prior
P(H): probability assigned to H before E. - Likelihood term
P(E | H): probability or density of E under H, viewed as a function of H. - Evidence
P(E): marginal probability or density of E across the modeled alternatives. - Posterior
P(H | E): updated probability of H after E.
The posterior reweights prior probabilities by relative predictive fit. The result is conditional on the prior, likelihood, and set of alternatives.
A Hypothetical Medical Test
Suppose prevalence is 0.1%, sensitivity is 99%, and the false-positive rate is 5%. In 100,000 people, about 99 of 100 affected people test positive, while about 4,995 of 99,900 unaffected people test positive. Among all positive results, the affected proportion is about 1.94%.
The 99% sensitivity and the roughly 2% probability of disease after a positive result are not contradictory; they condition in opposite directions. Real clinical interpretation must use current performance data for the specific test and population, plus confirmatory testing and clinical context.