Logic
Bayesian Thinking
The doctor says: 'The cancer test is positive.' How worried should you be? Intuition screams '99%!', but math says '10%'. The difference can cost you years of stress or an unnecessary operation. Bayes' theorem is not an abstraction - it is a tool for making decisions under uncertainty.
- **Medical diagnostics:** why doctors order repeat tests after a positive result - one test doesn't provide enough certainty for rare diseases
- **Spam filters:** Bayesian filters consider how likely the word 'viagra' is in spam vs. normal emails, and update their estimate with each word
- **Forensic science:** understanding base rates helps correctly interpret DNA evidence and avoid convicting the innocent
Bayes' Theorem
Imagine: a test for a rare disease comes back positive. How likely is it that you're actually sick? Most people would answer 'very likely' - and they'd be wrong. **Bayes' theorem** is a mathematical tool that helps you correctly update probabilities when you receive new data.
**Bayes' theorem:** P(H|E) = P(E|H) × P(H) / P(E) Where: • P(H|E) - the probability of hypothesis H given evidence E • P(E|H) - the probability of seeing E if H is true • P(H) - the prior probability of H (before seeing E) • P(E) - the overall probability of seeing E
Why so? Because there are far more healthy people than sick ones. Even with a low error rate, the number of false positives exceeds the number of true positives. This is called the **false positive paradox** - and understanding Bayes' theorem protects against this trap.
A drug test has 95% accuracy. 2% of people use drugs. If the test is positive, what is the approximate probability that the person actually uses drugs?