All labs

Backtesting Without Peeking

Rolling origins, expanding windows, and the horizon at which skill disappears.

Ch 12 12.5
Explorer
Temporal & Longitudinal
22 mindifficulty 4/5

Controls

Series

160
12
0.050
5
0.550

Higher φ means the noise itself is autocorrelated.

2
Random seed

Every result on this page is a deterministic function of the seed and the controls.

Forecasters & evaluation

0.300
12
48

Fixed size for rolling-origin and the k-fold training set.

0.75
Evaluation scheme
Focus method (error curve)

Series with origin and forecast fan

The vertical line marks the current forecast origin; each colored path is one method's forecast beyond it.

101520253035020406080100120140160originty(t)
Seasonal naiveDriftSimple exp. smoothingTrend + seasonal regression

Error vs horizon — Trend + seasonal regression

MASE under Rolling origin (fixed window) vs the true rolling-origin backtest.

00.5011.50224681012MASE = 1 (no skill)horizon hMASE
true rolling-origin MASEMASE = 1

Scheme-reported error vs true out-of-sample error

One-step-ahead (h = 1) RMSE for every method, by evaluation scheme.

012340123[-0.38, -0.03) n=0[0.62, 0.97) n=0[1.62, 1.97) n=0[2.62, 2.97) n=0[0.03, 0.38) n=0[1.03, 1.38) n=0[2.03, 2.38) n=0[3.03, 3.38) n=0methodRMSE (h = 1)
Seasonal naiveDriftSimple exp. smoothingTrend + seasonal regression
true rolling-origin RMSERolling origin (fixed window) RMSE
MASE crosses 1 at
never in range
Trend + seasonal regression, true rolling-origin backtest
h = 1 RMSE, true
2.816
strict rolling-origin backtest
h = 1 RMSE, Rolling origin (fixed window)
2.816
same as true when scheme = rolling
Naive-scale (in-sample MAE)
2.917
denominator of MASE
Read the horizon curve

MASE below 1 means the method beats a seasonal-naive baseline; MASE above 1 means it does worse. Trend and regression methods often win at h = 1 but lose their edge as the horizon grows and persistence in the noise (φ) decays — watch where the solid curve crosses the dashed MASE = 1 line.