Bayes Theorem
Bayes: P(H|E) = P(E|H) P(H) / P(E). Prior P(H), likelihood P(E|H), posterior P(H|E). Spam: H = spam, E = word “lottery”. A rare disease with a pretty-good test still has a modest posterior if the prior is tiny — classic trap.
Always name prior, likelihood, posterior. Plug tiny numbers if they ask to compute. Don’t recite the formula with no story.
Bayes Theorem — output — 0.8. After seeing lottery, spam belief jumps from 0.2 to 0.8.
prior P(H)
× P(E|H)
/ P(E)
▼
posterior P(H|E)Spam or disease story + name the three terms.