07 / Distributions
Poisson distribution: random event counts
A Poisson model translates an average event rate into a distribution of whole-number counts. It is useful for random arrivals or incidents when the rate and independence assumptions fit the operation.
The business question
How often could random demand exceed the capacity planned for a time window?
- Estimate a short-window demand threshold for packing or customer support.
- Explore incident counts, such as service calls, under a stable operating rate.
- Show why covering average demand is different from covering most demand windows.
How the method works
Define an event and a fixed amount of exposure: fifteen minutes, one machine-hour or another comparable window. Estimate the mean count for that exposure from relevant records. If the rate is 48 orders per hour, the corresponding mean in a quarter-hour is 12, provided the rate is approximately constant during that period. Scaling the exposure changes the mean used in the distribution.
The probability of exactly k events is exp(−λ) × λᵏ / k!. Adding the probabilities up to a capacity C gives P(X ≤ C); the remaining tail P(X > C) gives the chance that arrivals exceed nominal window capacity. The mean and variance both equal λ in a simple Poisson model, so the standard deviation grows as its square root.
Check whether events are genuinely dispersed as the model supposes. Shared causes, batch order releases, promotions and changing peak-hour rates can create clustering or overdispersion. A window-coverage calculation also has no service timing: it does not say when orders finish, whether work was waiting at the start or how a backlog carries into later windows. Queueing or simulation is needed to answer those separate questions.
The calculation
| Symbol | Meaning |
|---|---|
| λ | Expected number of events in the exact window being analysed. |
| k | A non-negative whole-number count. |
| C | Nominal event-handling capacity over that same window. |
| event rate | Expected events per chosen exposure unit, estimated for comparable conditions. |
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative packing team receives 48 orders per hour. Each station has nominal capacity for four orders per 15-minute window. The manager compares four and five stations, assuming zero opening backlog.
Inputs
- Hourly order rate = 48; window = 0.25 hours.
- Capacity per station = 4 orders per window.
- Coverage objective = at least 95% of arrival-count windows.
Work through the numbers
- Convert the rate to the window mean: λ = 48 × 0.25 = 12 orders.
- Four stations provide capacity C = 4 × 4 = 16. Calculate P(X > 16) = 0.1012910.
- Five stations provide C = 20. Calculate P(X > 20) = 0.0115977.
- Window coverage changes from 1 − 0.1012910 = 89.87% to 1 − 0.0115977 = 98.84%. Five is the smallest whole-station count meeting this target with four orders per station.
Adding one station changes count coverage substantially, but this is not an individual-order on-time completion guarantee. Check whether the same conclusion holds with measured service times and carried work.
Explore the decision
Count random arrivals. The live explorer has its own example inputs; it is separate from the worked calculation above.
Enable JavaScript to use this calculator. The worked example and executable Python remain available.
Apply it at work
- Record arrival timestamps and create equal, relevant exposure windows.
- Estimate rates by comparable operating periods and compare count variance with count mean.
- Calculate the exceedance probability for each practical capacity option.
- Validate later counts and use a queueing model or discrete-event simulation if waiting time or backlog is the real decision.
Check these assumptions
- Events occur independently under an approximately constant rate within the modelled exposure.
- The event and exposure definitions are the same in estimation and planning.
- The illustrative capacity comparison starts with no unfinished work.
- The supplied rate is treated as known; parameter uncertainty is a separate issue.
Common mistakes and how to avoid them
- Pooling quiet and peak hours can produce a rate that describes neither period well.
- A scheduled release of twenty orders is not twenty independent random arrivals.
- A probability of meeting a count threshold does not specify a distribution of order completion times.
How this can help the business
- Capacity discussions can use an explicit coverage objective rather than assuming that average capacity is adequate.
- Monitoring model failures can reveal changing demand or shared-cause surges that require a different planning approach.
Select the smallest feasible capacity meeting the stated count-coverage objective only after checking the arrival model and the separate service constraints.
When to use another approach
Use negative-binomial counts for suitable overdispersion, time-varying rates for peaks, or queueing and simulation for service dynamics.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import poisson
mean_orders = 48*0.25
for stations in [4, 5]:
capacity = stations*4
overflow = poisson.sf(capacity, mean_orders)
print(f'{stations} stations: capacity {capacity}, overflow {overflow:.2%}, coverage {1-overflow:.2%}')Recorded output
4 stations: capacity 16, overflow 10.13%, coverage 89.87% 5 stations: capacity 20, overflow 1.16%, coverage 98.84%
Sources and further reading
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.