Search

Search papers and lessons

Poisson Distribution

Level 2 · 10 min read

The Poisson distribution gives the chance of exactly k events in a fixed time or space when events arrive at a steady average rate, independently of each other.

On this page

  • Colour = topic mix
  • Probability
  • Discrete math
  • Calculus
  • Sign in to see your progress

TL;DR

Suppose events happen at a steady average rate λ\lambda per unit of time or space, and each event arrives independently of the others. The Poisson distribution gives the probability of seeing exactly kk events in one unit:

P(k)=e−λ λkk!.P(k) = \frac{e^{-\lambda}\,\lambda^k}{k!}.

Its mean and its variance are both equal to λ\lambda.

Where you'll see it: counting calls arriving at a support desk in an hour, typing errors on a page, failed requests to a server in a minute, and radioactive decays counted by a detector in a second.

Intuition

Start with a familiar situation. A call centre receives 3 calls per minute on average. How many calls arrive in the next minute? It could be 0, 1, 2, 3, 4 or more. The calls do not arrive on a schedule, and one call does not make the next one more or less likely.

A clean way to think about it is to chop the minute into many tiny slices. In each slice there is either a call or there is not, and the chance of a call in a tiny slice is small. If the slices are independent and the chance per slice is small, the total count over the minute behaves like a count of successes in many tries with small success probability. That is the limit that gives the Poisson distribution.

Why does the distribution need only a single number? Because the rate λ\lambda is the only thing that matters. Double the rate and the whole distribution shifts to the right and spreads out. Nothing else about the process enters the formula.

024681000.10.20.30.4number of events kprobability
  • λ = 1
  • λ = 4
Poisson probabilities for λ = 1 and λ = 4. A larger rate moves the peak right and spreads the counts out; for λ = 4, counts 3 and 4 are equally likely.

When the average is large the bell gets close to a Gaussian, but for small rates the distribution is lopsided, because a count cannot go below 0.

The math

A random variable KK that counts events has a Poisson distribution with rate λ>0\lambda > 0 when

P(K=k)=e−λ λkk!,k=0,1,2,…P(K = k) = \frac{e^{-\lambda}\,\lambda^k}{k!}, \qquad k = 0, 1, 2, \ldots

Here e−λe^{-\lambda} is the exponential of minus λ\lambda, λk\lambda^k is λ\lambda multiplied by itself kk times, and k!k! is the factorial k×(k−1)×⋯×1k \times (k-1) \times \cdots \times 1, with 0!=10! = 1 (see counting principles for why factorials count orderings).

Probabilities add to 1. The Taylor series of eλe^\lambda is ∑k=0∞λk/k!\sum_{k=0}^\infty \lambda^k / k!. So

∑k=0∞P(k)=e−λ∑k=0∞λkk!=e−λeλ=1.\sum_{k=0}^\infty P(k) = e^{-\lambda} \sum_{k=0}^\infty \frac{\lambda^k}{k!} = e^{-\lambda} e^{\lambda} = 1.

The mean is λ\lambda. The mean here is the expected value, the sum of each count times its probability. Use k/k!=1/(k−1)!k/k! = 1/(k-1)! for k≥1k \geq 1:

E[K]=∑k=1∞k e−λλkk!=λe−λ∑j=0∞λjj!=λ.\mathbb{E}[K] = \sum_{k=1}^\infty k\,\frac{e^{-\lambda}\lambda^k}{k!} = \lambda e^{-\lambda} \sum_{j=0}^\infty \frac{\lambda^j}{j!} = \lambda.

Here j=k−1j = k - 1 was substituted in the second step.

The variance is λ\lambda. The variance is the average squared distance from the mean (see mean and variance). Compute E[K(K−1)]\mathbb{E}[K(K-1)] the same way. Each step drops one factor from k!k!, which leaves λ2\lambda^2:

E[K(K−1)]=λ2e−λ∑j=0∞λjj!=λ2.\mathbb{E}[K(K-1)] = \lambda^2 e^{-\lambda} \sum_{j=0}^\infty \frac{\lambda^j}{j!} = \lambda^2.

Then Var⁡(K)=E[K(K−1)]+E[K]−E[K]2=λ2+λ−λ2=λ\operatorname{Var}(K) = \mathbb{E}[K(K-1)] + \mathbb{E}[K] - \mathbb{E}[K]^2 = \lambda^2 + \lambda - \lambda^2 = \lambda.

Where the formula comes from. Take a binomial count of nn tries, each with success probability pp, and hold the mean np=λnp = \lambda fixed while nn grows. The binomial probability is (nk)pk(1−p)n−k\binom{n}{k} p^k (1-p)^{n-k}. Substitute p=λ/np = \lambda/n:

  1. (nk)(λ/n)k=n(n−1)⋯(n−k+1)k!⋅λknk\binom{n}{k}(\lambda/n)^k = \frac{n(n-1)\cdots(n-k+1)}{k!}\cdot\frac{\lambda^k}{n^k}. The fraction of nn-factors tends to 1, so this tends to λk/k!\lambda^k/k!.
  2. (1−λ/n)n−k(1 - \lambda/n)^{n-k} tends to e−λe^{-\lambda} as nn grows, because (1−x/n)n→e−x(1 - x/n)^n \to e^{-x} (a standard limit).
  3. Multiply the two limits. The result is e−λλk/k!e^{-\lambda}\lambda^k/k!, the Poisson probability.

Worked examples

Example
Worked example 1: a rate of 2 per unit

Let λ=2\lambda = 2. Find the chance of 0, 1 or 2 events.

  1. Compute e−2≈0.1353e^{-2} \approx 0.1353.
  2. P(0)=e−2⋅20/0!=0.1353×1/1=0.1353P(0) = e^{-2} \cdot 2^0 / 0! = 0.1353 \times 1 / 1 = 0.1353.
  3. P(1)=e−2⋅21/1!=0.1353×2=0.2707P(1) = e^{-2} \cdot 2^1 / 1! = 0.1353 \times 2 = 0.2707.
  4. P(2)=e−2⋅22/2!=0.1353×4/2=0.2707P(2) = e^{-2} \cdot 2^2 / 2! = 0.1353 \times 4/2 = 0.2707.
  5. Add them. P(K≤2)=0.1353+0.2707+0.2707=0.6767P(K \leq 2) = 0.1353 + 0.2707 + 0.2707 = 0.6767.

Interpretation: with an average of 2 events, the most likely counts are 1 and 2, and there is about a two-in-three chance of at most 2 events. Zero events is still common, about one time in seven.

Example
Worked example 2: a support desk at 3 calls per minute

The calls arrive at rate λ=3\lambda = 3 per minute. Find the chance of exactly 5 calls in the next minute, and the chance of at most 2.

  1. Compute e−3≈0.04979e^{-3} \approx 0.04979.
  2. Exactly 5: P(5)=e−3 35/5!=0.04979×243/120=0.04979×2.025≈0.1008P(5) = e^{-3}\,3^5 / 5! = 0.04979 \times 243 / 120 = 0.04979 \times 2.025 \approx 0.1008.
  3. At most 2: P(0)=0.04979P(0) = 0.04979, P(1)=0.04979×3=0.1494P(1) = 0.04979 \times 3 = 0.1494 and P(2)=0.04979×9/2=0.2240P(2) = 0.04979 \times 9/2 = 0.2240.
  4. Add them. P(K≤2)≈0.0498+0.1494+0.2240=0.4232P(K \leq 2) \approx 0.0498 + 0.1494 + 0.2240 = 0.4232.
  5. Check the mean. The average count is λ=3\lambda = 3, and P(5)≈0.10P(5) \approx 0.10 is a plausible but not common outcome.

Interpretation: a minute with 5 or more calls is not unusual when the average is 3, and about 42% of minutes have 2 or fewer calls. A staffing plan should use the whole distribution, not only the mean.

Example
Worked example 3: failed requests on a server

A server logs failed requests at an average rate of λ=4.5\lambda = 4.5 per hour. Assume the failures are independent. Find the chance that an hour has no failures, and the chance of at least one.

  1. The chance of zero failures is P(0)=e−4.5≈0.01111P(0) = e^{-4.5} \approx 0.01111.
  2. The chance of at least one failure is the complement, 1−P(0)=1−0.01111=0.98891 - P(0) = 1 - 0.01111 = 0.9889.
  3. Interpret. About 1 hour in 90 is clean, and almost every hour has at least one failure.
  4. Check the independence assumption before using the number. If failures come in bursts, the counts are more spread out than a Poisson distribution predicts, and the zero-failure chance is wrong.

Interpretation: the Poisson model gives a fast estimate. Whether it is trustworthy depends on whether the failures really arrive one at a time, without clustering.

Tradeoffs and failure modes

The Poisson model is simple and often right for rare, independent events. It fails in predictable ways.

SituationWhat goes wrongBetter choice
Events come in bursts or clustersThe variance is much bigger than the mean, so the Poisson tail is too thinA negative binomial distribution, which has an extra spread parameter
The rate changes over the hourOne fixed λ\lambda averages out peaks and quiet timesSplit the hour into shorter windows, each with its own rate
Each event depends on earlier onesIndependence fails, and the formula is no longer justifiedModel the dependence directly, for example with a process whose rate depends on its history
Counting successes out of a fixed number of triesThe number of tries is known, so the count is cappedUse the [[binomial-distribution
Very large λ\lambdaComputing λk/k!\lambda^k/k! directly overflowsCompute on the log scale, or use a normal approximation with mean and variance λ\lambda

A quick check is the dispersion ratio, the variance divided by the mean. For a Poisson count it is close to 1. Clear departures from 1 signal that the model should be changed before any probability is quoted.

History

Siméon-Denis Poisson published the distribution in 1837 in a work on the probability of court verdicts. It was a mathematical curiosity for decades, with little use outside a few specialist problems.

The distribution became practical in 1898, when Ladislaus Bortkiewicz used it to model the number of soldiers in the Prussian army killed each year by horse kicks across many cavalry corps. The counts were rare and largely independent, and the Poisson fit was close. His book on the law of small numbers made the model widely known.

It caught on because it needs only one parameter, and because the rare-events limit explains why it appears so often. Telephone traffic, radioactive decay and insurance claims all used it in the early twentieth century.

Recap

Events that arrive independently at a steady average rate λ\lambda give a count with probability e−λλk/k!e^{-\lambda}\lambda^k/k!. The formula is the limit of a binomial with many tries and tiny success chance, its mean and variance both equal λ\lambda, and a variance far from the mean means the model does not fit. The gaps between the events themselves follow the exponential distribution, the natural next lesson.

Check yourself

QuestionRecall: what are the mean and the variance of a Poisson count with rate lambda?Show answer

Both are equal to λ\lambda. The mean is the rate, and the variance is also the rate, which is a special property of the Poisson distribution.

QuestionCompute P(0) and P(1) for lambda = 1.Show answer

P(0)=e−1⋅10/0!=e−1≈0.3679P(0) = e^{-1} \cdot 1^0 / 0! = e^{-1} \approx 0.3679. P(1)=e−1⋅11/1!=e−1≈0.3679P(1) = e^{-1} \cdot 1^1 / 1! = e^{-1} \approx 0.3679. The two are equal because λ=1\lambda = 1.

QuestionWhy does the binomial distribution with small success probability and many tries become Poisson?Show answer

Hold the mean np=λnp = \lambda fixed while nn grows. The factor n(n−1)⋯(n−k+1)/nkn(n-1)\cdots(n-k+1)/n^k tends to 1, and (1−λ/n)n−k(1-\lambda/n)^{n-k} tends to e−λe^{-\lambda}. Together these give e−λλk/k!e^{-\lambda}\lambda^k/k!.

QuestionA count has mean 4 and variance 9. Should you use a Poisson model for it? Explain.Show answer

No. A Poisson count has variance equal to its mean, so a variance of 9 against a mean of 4 is a dispersion ratio of 2.25. The counts are more spread out than Poisson, which points to clustering or a changing rate. A negative binomial model is a better starting point.

QuestionA detector averages 0.2 counts per second. Using the Poisson model, what is the chance of at least one count in a given second?Show answer

P(0)=e−0.2≈0.8187P(0) = e^{-0.2} \approx 0.8187, so the chance of at least one count is 1−0.8187=0.18131 - 0.8187 = 0.1813, about 18%.

Sources