Forecast lab
Monthly demand for one fictional product (roasted coffee, units). Move the origin to hide the future, pick a horizon and a model, and see how that forecast would have scored on every earlier window.
Synthetic data Generated in your browser from a fixed seed. No real company, no real sales.
Controls
1 – 12 months
Consecutive origins that end at the one above.
Last month the model gets to see.
Holt-Winters (additive), origin 2025-11, horizon 6 months, 6 windows. WAPE 7.4% against 10.3% for the baseline. MASE 0.94. Conformal interval coverage 67% at 80 % and 89% at 95 %.
Demand and forecast
The model only sees the solid line. The grey dashed line is what actually happened afterwards.
This forecast as a table
| Month | Real | Forecast | Low | High | Inside |
|---|---|---|---|---|---|
| 2025-12 | 1,728 | 1,832 | 1,686 | 1,979 | yes |
| 2026-01 | 1,417 | 1,382 | 1,236 | 1,529 | yes |
| 2026-02 | 1,329 | 1,348 | 1,201 | 1,496 | yes |
| 2026-03 | 1,704 | 1,491 | 1,342 | 1,640 | no |
| 2026-04 | 1,494 | 1,458 | 1,307 | 1,609 | yes |
| 2026-05 | 1,644 | 1,694 | 1,540 | 1,848 | yes |
How it would have scored
Pooled over 6 windows × 6 months = 36 forecasts, each made with data up to its own origin.
WAPE
7.4%
28% less error than the baseline
Total absolute error over total demand. Lower is better.
Baseline WAPE
10.3%
Seasonal naive on the same windows.
MASE
0.94
Error against a seasonal-naive forecast of the same training data. Below 1 beats it.
Coverage: nominal vs observed
| Nominal | Normal | Conformal |
|---|---|---|
| nominal 80 % | 58% | 67% |
| nominal 95 % | 83% | 89% |
Observed share of the 36 real values that landed inside each interval. Within 5 points of nominal shows in green. Each window is calibrated on at least 159 errors from earlier origins, none from the test period.
Conformal: The interval is too narrow: 67% of real values landed inside, not 80%.
What the numbers mean
- Origin
- The last month of data the model is allowed to use. Everything after it is hidden until scoring.
- Backtest
- Repeat the forecast from several earlier origins and score each one against what really happened. That is the only honest estimate of future error.
- Normal interval
- Built from the model’s own in-sample errors, assuming they are normal. In-sample errors are optimistic, so it tends to come out too narrow.
- Conformal interval
- Same forecast, but the width is calibrated on a validation set: forecasts made from the 24 origins before each window, scored against months already observed. The width is the error quantile at the chosen level. Its guarantee assumes exchangeable errors, which a time series only approximates, so the coverage table checks it.
- Holt-Winters here
- A coarse grid search over smoothing parameters, not a tuned production model. It is enough to show why a baseline matters.