#41 Bayesian Inference
Thinking, Fast and Slow (Daniel Kahneman, 2011)
Biases
A cab was involved in a hit-and-run accident at night.
Two cab companies, the Green and the Blue, operate in the city.
You are given the following data:
- 85% of the cabs in the city are Green and 15% are Blue.
- A witness identified the cab as Blue.
- The court tested the realiability of the witness under the circumstances that existed on the night of the accident and concluded that the witness correctly identified each one of the two colors 80% of the time and failed 20% of the time.
What is the probability that the cab involved in the accident was Blue rather than Green?
ACCIDENT
β
βββ GREEN cab (0.85)
βββ Witness says BLUE (0.20) β 0.17 β WRONG β sum to BLUE total
βββ Witness says GREEN (0.80) β 0.68 β CORRECT
β
βββ BLUE cab (0.15)
βββ Witness says BLUE (0.80) β 0.12 β CORRECT β sum to BLUE total
βββ Witness says GREEN (0.20) β 0.03 β WRONG
BLUE REPORT TOTALS
β
βββ From GREEN cab saying BLUE β 0.17
βββ From BLUE cab saying BLUE β 0.12
Total probability witness says BLUE β 0.29
FINAL PROBABILITY CAB IS ACTUALLY BLUE (Bayes' Theorem)
β
βββ P(Blue|Witness says Blue) = P(Blue and witness says Blue) 0.12 / P(Witness says Blue) 0.29 β 0.41
KARL BALD
She said blue. Case closed.
KUNST
My guyβ¦ they didnβt even ask that.
Theyβre asking about the probability it was blue, not your caveman instinct.
You skipped the base rates, the math, the logic, you just heard βblueβ and went full autopilot.
KARL BALD
I go with my gut, man. Witness said blue, I trust her.
KUNST
Your gut has a 20% failure rate.
And that 80% accuracy? It's only working on the 15% chance the cab was Blue.
So don't think you're getting 80% certaintly overall, you're just getting 80% of a small slice.
KARL BALD
Damn. Thatβs cold.
KUNST
Not as cold as your logic, dude.
LESSON 41
"Don't trust the first impulse. Look at the base rates of life, weigh the probabilities, then decide."