DEMDemandStop 7 of 12
- Forecasting fundamentals
- Demand patterns & classification
- Exponential smoothing & ETS
- Intermittent demand: Croston, SBA, TSB
- ML & global forecasting models
- Forecast accuracy & bias
- Probabilistic forecasting
- Hierarchical forecasting
- Promotions, cannibalization & halo
- New products & phase-outs
- Demand sensing & shaping
- Consensus forecasting & FVA
Probabilistic forecasting
Forecasting a range of outcomes and its quantiles instead of a single number, so stock can be set for the risk you choose.
Read atChange any time
A normal forecast says “next week’s demand will be 10,000 units.” That single number hides the part planners care about most: how far off it could be. A probabilistic forecast gives the range instead:
| Quantile | Meaning | Forecast |
|---|---|---|
| P10 | 10% chance demand is lower than this | 8,000 |
| P50 | the middle: as likely above as below | 10,000 |
| P90 | 90% chance demand is at or below this | 13,000 |
This matters because stock isn’t set from the middle of the range. It is set from the tail. If you want to avoid running out 90% of the time, you need roughly the P90 number on hand, not the P50. Plan for 10,000 and you’ll be short fairly often; plan for 13,000 and you’re protected, at the cost of more stock. The forecast now lets the business choose its risk openly.
It also helps where the usual safety-stock formula struggles. That formula assumes demand follows a neat bell curve. Real demand is often skewed, with a hard floor at zero and occasional big spikes, especially for slow movers. A quantile forecast reads the tail from the data instead of assuming its shape.
Quantile forecasts are scored with pinball loss, which penalizes errors unequally on purpose. For a P90 forecast, being too low costs nine times more than being too high, which mirrors how a stockout usually hurts more than a little extra stock.
Words to use
- Quantile (P90)
- The demand level that actual demand will be at or below 90% of the time.
- Prediction interval
- A range expected to contain actual demand with a stated probability, such as P10 to P90.
- Pinball (quantile) loss
- An error measure for quantile forecasts that weights misses on one side more than the other.
Four ways to get the range
- Assume a distribution. Take the point forecast as the mean and the standard deviation of past forecast errors as the spread, then read quantiles from a normal or better-fitting distribution. Simple, but it inherits whatever shape you assumed.
- Use your own past errors. Collect past percentage errors at the right horizon and apply their quantiles to the current forecast. If past errors ran from −20% at P10 to +30% at P90, a point forecast of 10,000 gives P10 = 8,000 and P90 = 13,000: the skewed range in the gist.
- Train for the quantile. Quantile regression, or a gradient-boosted model with pinball loss, learns each quantile directly from features.
- Simulate. Generate many possible demand paths, from a statistical model or by resampling history, and read quantiles from them. This is the most flexible approach, and the only easy one when you need totals over several periods.
Scoring with pinball loss
For a quantile and forecast :
For a P90 ( = 0.9) of 13,000: if 14,000 sell, the loss is 0.9 × 1,000 = 900; if 12,000 sell, it is 0.1 × 1,000 = 100. Forecasting too low costs nine times as much, which pushes the forecast up to the point where only 10% of outcomes exceed it.
Quantiles don’t add up
Suppose weekly demand averages 10,000 with a P90 of 13,000, roughly normal and independent from week to week, so . What covers four weeks?
- Adding the weekly P90s: 4 × 13,000 = 52,000.
- The real P90 of the four-week total: .
Adding quantiles assumes every week is bad at once, so here it overstates the need by 6,000 units. Totals across weeks, items or locations need the distribution of the total, which simulated paths or a proper model provide.
Two properties of a good probabilistic forecast
- Calibration: the stated probabilities come true. Demand should exceed the P90 about 10% of the time and fall below the P10 about 10% of the time. If, over 52 weeks, demand beat the P90 in 15 weeks (29%), the range is too narrow, and stock based on it will run short.
- Sharpness: among calibrated forecasts, narrower is better. “Between 0 and 1 million” is calibrated and useless.
Pinball loss averaged over many quantiles, or the continuous ranked probability score (CRPS), rewards both at once. The M5 uncertainty competition scored entries with a scaled pinball loss across nine quantiles.
Distributions that fit sales
Sales are counts, never negative and often skewed. A normal distribution can put real probability on negative demand for slow items. Better choices: Poisson for low, steady rates; the negative binomial when the variance exceeds the mean; zero-inflated versions when there are extra zeros; and empirical distributions when there is enough history.
From quantiles to decisions
- Replenishment: set the order-up-to level at the quantile of demand over the lead time plus review period that matches the service target.
- One-shot buys: the newsvendor critical ratio tells you which quantile to stock.
- Capacity and S&OP: plan base capacity around the P50, and decide in advance how much flexibility (overtime, subcontracting) covers the gap to the P90.
- Risk conversations: finance sees the range of revenue and inventory outcomes, not one number that is certain to be wrong.
Bringing the business along
Most planning processes and systems are built around one number, and people are uncomfortable with ranges. Practical steps: show fan charts rather than tables of quantiles; keep the P50 as the familiar “forecast” while stock uses the right quantile; and explain in money what a higher quantile buys, meaning how much extra stock it needs and how many stockouts it avoids.
Interview kit
Practise it out loud
Answer each question yourself before opening the model answer.
A probabilistic forecast gives a distribution of possible demand, usually as quantiles like P10, P50 and P90, instead of one number. Inventory is set from the tail, not the middle: for a 95% service target you stock towards the P95 of lead-time demand. It also handles skewed and intermittent demand better than assuming a normal distribution, and quantile forecasts are evaluated with pinball loss rather than MAPE.
Your P50 is 10,000 and P90 is 13,000. How much do you stock?
It depends on the service target and the cost of each mistake. For about 90% protection, stock near 13,000. If leftovers are cheap and stockouts expensive, go higher; if stock perishes, the newsvendor critical ratio tells you which quantile to aim for.
Why not just use the point forecast plus a safety-stock formula?
That works when forecast errors are roughly normal. Many items, especially slow movers and promoted items, have skewed demand with spikes, where the normal assumption sets the buffer wrong. A quantile forecast reads the tail directly from the data.
Connected stops
Where this idea feeds in, or gets its inputs from.
Sources and further reading
- Hyndman, R. J. & Athanasopoulos, G. Forecasting: Principles and Practice (3rd ed.). OTexts. Sections on prediction intervals and distributional forecasts.
- Koenker, R. & Bassett, G. (1978). Regression quantiles. Econometrica, 46(1), 33–50.
- Gneiting, T., Balabdaoui, F., & Raftery, A. E. (2007). Probabilistic forecasts, calibration and sharpness. Journal of the Royal Statistical Society: Series B, 69(2), 243–268.