Some things happen at random, but at a steady average rate: calls to a help desk per hour, typos per page, goals per game. The Poisson distribution tells you the chance of seeing 0, 1, 2, 3... of them in one window (one hour, one page, one game).
First, define two things
1. What you count
2. The window (time period)
λ
Help desk
calls
per hour
2
Football
goals by one team
per game (90 min)
1.44
Website
signups
per day
30
λ only makes sense with its window. 2 calls per hour = 16 calls per 8-hour day. Change the window, and λ changes with it.
Window can be space tooTypos per page, potholes per mile. Time is just the most common.
Count separate thingsCalls, goals, signups. Not revenue or minutes spent; those are not counts.
Same-size windowsA 10-hour shift gets more calls than an 8-hour one. Scale λ to the window length.
Steady rate inside the windowIf calls spike at lunch, one λ for the whole day is wrong. Use smaller windows.
λ (lambda)The average count per window. The only number you need. λ = 2 calls per hour means "2 calls per hour on average".
VarianceHow spread out the counts are. For Poisson, variance = λ. Average 2, spread 2. Much bigger spread than average = not Poisson.
P(k) = λk e-λ / k!Chance of exactly k events. e = 2.718. k! = k x (k-1) x ... x 1.
Most common countClose to λ. Zero is the most common only when λ is below 1.
Example: events per hour, straight from the formula
λ = average per hour1.5
what the math says (color = count)most common
Where the most common count sits
Now football: goals per game are Poisson too
Window = one game. Event = a goal. Every team, every game, top 5 European leagues, 2023-24: 3,504 results. Average (λ) = 1.44 goals. Variance = 1.59. Close, so Poisson fits.
what the math guessedwhat really happened
Great team vs bad team
what the math guessedreal games
Bayern usually scored 2. Cádiz usually scored 0. Same math, just a different average.
Guessing the final score
Big number = how often that score really happened. Small number = the math's guess. 1-1 is the most common score. The math is close, but real games end in a draw a bit more often than it guesses (26% vs 25%).
Why does this work?
A game is 90 minutes. In any single minute, a goal is unlikely. But there are a lot of minutes. Slide to chop the game into more pieces.
pieces3
the mathchopped-up game, max 1 goal per piece
At 90 pieces (one per minute), the dots sit on the bars.
When does it NOT work?
Works: variance about equal to λ One team's games over a season.
Breaks: variance bigger than λ You mix great and terrible teams into one pile. Scores spread out more than the math expects.
Breaks: variance bigger than λ Goals cause more goals, like a team falling apart after conceding.
Football, step by step: click through
Counting rare things
01 / 14
0123456+ goals
Football, step by step
Counting rare things
Every team, every game, top 5 European leagues, 2023-24. One cube per game. Click the right side or press →.
Poisson in five ideas
Everything in this walk-through comes back to these.