Definition
Accuracy measures score the forecast against the demand, period by period. Inventory measures score what happens when the forecast drives a replenishment rule: the service obtained and the stock held. Syntetos, Nikolopoulos and Boylan call the second kind accuracy-implication metrics.
The two can disagree for three reasons. The stock rule uses a quantile, and accuracy is measured at the centre. Errors of opposite sign have unequal costs. And the rule reacts to the forecast over the lead time, so the timing of errors matters, not only their size.
Worked example
Two forecasts of a slow item feed the same order-up-to rule: each period, stock is raised to twice the forecast. Forecast A is the true mean. Forecast B is zero.
import numpy as np
rng = np.random.default_rng(17)
demand = rng.binomial(1, 0.3, 50_000) * rng.integers(1, 6, 50_000) # mean 0.9
def evaluate(name, forecast):
stock = np.round(2 * forecast) # order-up-to level each period
served = np.minimum(demand, stock)
mae = np.mean(np.abs(demand - forecast))
print(f"{name:22s} MAE = {mae:.3f} fill rate = {served.sum() / demand.sum():.3f} "
f"no stock-out = {np.mean(demand <= stock):.3f} average stock = {stock.mean():.2f}")
evaluate("A: true mean (0.9)", np.full(demand.size, 0.9))
evaluate("B: zero", np.zeros(demand.size))Output, produced by running the code above when this page was built:
A: true mean (0.9) MAE = 1.254 fill rate = 0.600 no stock-out = 0.823 average stock = 2.00 B: zero MAE = 0.884 fill rate = 0.000 no stock-out = 0.706 average stock = 0.00
Forecast B has the lower absolute error and serves nobody. It still shows no stock-out in 70 % of periods, the periods without demand. Only the fill rate and the stock column tell the two apart in the way the business would.
Where it misleads
- A stock simulation has its own assumptions: the rule, the lead time, what happens to unmet demand. A ranking of forecasts under one rule may not hold under another.
- Service and stock have to be read together. Any method reaches any service level with enough stock. The comparison is fair at equal stock, or along the whole curve of service against stock.
- Simulations on sales data treat recorded sales as demand, see censored demand.
- The disagreement is not universal. On some datasets the accuracy ranking and the stock ranking coincide, and the simulation only confirms it.
In our work
Our preregistered study tested whether accuracy ranks methods the way stock does. The answer depended on the data: the hypothesis that it does not was confirmed on one dataset, refuted on another, and undecided on a third. We therefore run the stock simulation instead of assuming either answer.
Service: forecasting and statistical studies Research note: intermittent demand forecasting, measured
References
- Syntetos, A. A., Nikolopoulos, K., Boylan, J. E. (2010). Judging the judges through accuracy-implication metrics: the case of inventory forecasting. International Journal of Forecasting, 26(1), 134-143. doi:10.1016/j.ijforecast.2009.05.016
- Kourentzes, N., Trapero, J. R., Barrow, D. K. (2020). Optimising forecasting models for inventory planning. International Journal of Production Economics, 225, 107597. doi:10.1016/j.ijpe.2019.107597
- Chadeffaud, M. (2026). Evaluating intermittent demand forecasts: a preregistered study on four public datasets. Zenodo, preprint. doi:10.5281/zenodo.24248568
- Makridakis, S., Spiliotis, E., Assimakopoulos, V. (2022). M5 accuracy competition: results, findings, and conclusions. International Journal of Forecasting, 38(4), 1346-1364. doi:10.1016/j.ijforecast.2021.11.013