Everyone is a Bayesian on a Saturday. A player goes down, the ref books him for diving, and half the ground is sure he dived while the other half is sure he was fouled. Both sides are mixing what they already believed with what they just saw.
Bayesian statistics is that habit written down properly. This series builds it up one idea at a time, and every chapter uses the same football cast. We start with the simplest possible version: a single yes-or-no question.
The referee's problem
A referee books a player for diving. How likely is it that he actually dived?
You need three numbers: how common diving is in the first place (your prior), how often the ref spots a real dive, and how often he wrongly books an honest fall. Play with them below. Each square is one player who went down in the box.
With the starting numbers, a ref who is right 90% of the time on real dives still books more innocent players than guilty ones. That's not because he's bad. It's because honest falls massively outnumber dives, so even a small error rate on the honest majority swamps the dives.
Drag the first slider up and watch the answer jump. Same ref, same accuracy, completely different conclusion. That's the prior doing its job. Written as a formula, it's Bayes' rule:
P(dived | booked) = P(dived) × P(booked | dived) ÷ P(booked)In words: what you believe now = what you believed before × how well the evidence fits, scaled so it all adds up to 100%.
Key findings
- Prior: how common something is before you see any evidence. Here, how many players dive.
- Likelihood: how well the evidence fits each possibility. Here, how often a booking follows a real dive versus an honest fall.
- Posterior: your updated belief once both are combined. Here, the chance a booked player really dived.
- When the thing you're looking for is rare, even an accurate test produces lots of false alarms. Ignore the base rate and you'll be badly overconfident.
Appendix — the maths
With the starting numbers: 10% of players dive, the ref books 90% of real dives and 20% of honest falls.
P(booked) = 0.10 × 0.90 + 0.90 × 0.20 = 0.09 + 0.18 = 0.27 P(dived | booked) = (0.10 × 0.90) ÷ 0.27 = 0.09 ÷ 0.27 ≈ 33%The grid is the same calculation done with people instead of decimals: 9 guilty bookings out of 27 in total. Counting people like this (statisticians call them "natural frequencies") is usually much easier to follow than multiplying percentages.
Three from three
Yes-or-no questions are the easy case. What if the thing you want to know is a number, such as how good a penalty taker really is?