Library · Demand and stock

The zero forecast as a baseline

A forecast of zero for every item and every period is useless for stock and has the best absolute error on most intermittent series. Including it in a comparison shows at once whether the error measure can be trusted.

By , published

Definition

The zero forecast predicts no demand, always. It needs no data and no parameter. It is a control: its role is to test the evaluation, not to be used.

The absolute error is minimised by the median of the future values. On a series where more than half of the periods are zero, the median is zero. Any measure built on absolute errors, such as MASE or WAPE, therefore ranks the zero forecast at or near the top. This has been noted several times in the literature, including by Kolassa in 2016.

Worked example

Two hundred items are simulated, each selling in a quarter of the months. Seven methods are scored at three forecast origins with intermittent-eval, our open-source package.

import numpy as np
from intermittent_eval import compare, default_methods

rng = np.random.default_rng(0)
Y = rng.binomial(1, 0.25, (200, 48)) * rng.integers(1, 5, (200, 48))

methods = default_methods(alpha=0.1, beta=0.1, window=12)
table = compare(Y, methods, origins=[30, 36, 42], horizon=6, reference="SES", seed=0)
print(table)

Output, produced by running the code above when this page was built:

| group | method | n | MASE | RMSSE | RMSSE vs SES (95 % CI) | bias | lead-time error |
|---|---|---|---|---|---|---|---|
| All | Zero | 200 | 0.667 | 0.681 | -1.0 % [-3.1; +1.3] | -100 % | -0.667 |
| All | Naive | 200 | 1.065 | 0.859 | +24.8 % [+19.6; +30.3] | -1 % | -0.040 |
| All | Moving average | 200 | 0.984 | 0.699 | +1.5 % [+0.9; +2.2] | +4 % | -0.041 |
| All | SES | 200 | 0.978 | 0.688 | reference | +3 % | -0.050 |
| All | Croston | 200 | 1.061 | 0.708 | +2.9 % [+0.8; +5.3] | +23 % | +0.096 |
| All | SBA | 200 | 1.040 | 0.701 | +1.9 % [-0.1; +4.1] | +17 % | +0.058 |
| All | TSB | 200 | 0.979 | 0.688 | +0.0 % [-0.4; +0.5] | +3 % | -0.053 |

The zero forecast has the lowest MASE of the table and a bias of −100 %. On the squared-error measure, RMSSE, it is no longer clearly ahead: its interval against SES includes zero. The bias column is what separates it from a usable forecast.

What the baseline is for

  • If the zero forecast wins on the chosen measure, the measure does not reward what the stock needs, and the ranking of the real methods on it means little.
  • It sets the level a method has to beat. A new model with a MASE of 0.70 sounds good until the zero forecast shows 0.625 on the same series.
  • It costs nothing to add and removes a whole class of misleading conclusions from a report.

The same logic applies to other controls: the naive forecast, the mean of the history, a placebo model trained on shuffled data.

In our work

The zero forecast is in every one of our demand comparisons. On 2,404 spare-part series its mean MASE was 0.625, lower than every real method. In our preregistered study the hypothesis that it has the lowest MASE was confirmed on three datasets and could not be tested on the fourth.

References

  1. Kolassa, S. (2016). Evaluating predictive count data distributions in retail sales forecasting. International Journal of Forecasting, 32(3), 788-803. doi:10.1016/j.ijforecast.2015.12.004
  2. Hyndman, R. J., Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679-688. doi:10.1016/j.ijforecast.2006.03.001
  3. Chadeffaud, M. (2026). Evaluating intermittent demand forecasts: a preregistered study on four public datasets. Zenodo, preprint. doi:10.5281/zenodo.24248568

Have a question like this one on your own data? Tell us what you need in a few lines.

Send us the brief

Related pages

  • MASE: mean absolute scaled errorMASE compares the absolute error of a forecast with the error a naive forecast made on the history. Below 1, the forecast beats that naive benchmark. On series that are mostly zeros, a forecast of zero gets the best score.
  • Forecast bias: mean errorBias is the average of forecast minus actual. It says whether a method orders too much or too little over time, which no accuracy measure reports. A biased forecast can have the best accuracy score.
  • MAE or RMSE: which forecast each one rewardsThe absolute error is smallest when the forecast is the median of what can happen, the squared error when it is the mean. On skewed data these are different numbers, so the choice of measure is a choice of forecast.
All library pages