Rolling Origin Forecast Backtesting
Evaluate one-step benchmark forecasts against held-out observations with explicit rolling training prefixes and no future-row fitting.
Loading tool…
How to use Rolling Origin Forecast Backtesting
Each fold forecasts the next observation using only earlier rows. Naive, seasonal naive, drift and fixed-alpha exponential smoothing share your initial training count. Errors are actual minus forecast; scaling uses each fold’s prior seasonal-difference MAE.
- Enter ordered numeric json array, initial training observations, seasonal lag for naive method and error scale, ses alpha.
- Choose the stated convention and check the units and supported model.
- Calculate, inspect the result, then copy or download it.
Good to know
- 3–1000 equally spaced ordered numeric observations, absolute value at most 1e9 and nonzero magnitude at least 1e-12. Initial training is at least 2; seasonal lag is 1–100 and smaller than that prefix. SES begins at the first observation, without fitted alpha. Mean fold-scaled error is unavailable if any training scale is zero. Approximate arithmetic only; no interval forecast, model selection guarantee, trading signal or future performance claim.
- Local calculation only; no input persistence or external lookup. Text/JSON is limited to 30000 characters and output to 1000000 characters. Numeric model inputs and precision/work limits are stated on this page. Approximate JSON numbers retain full stored values; exact arithmetic outputs retain decimal or fraction strings. Unsupported states fail explicitly.
Common questions
How is this different from smoothing the entire series?
A smoothing page transforms the observations. This workbench measures forecasts made before each held-out observation was available, which prevents fitting that observation or a later row into its own prediction.
Is the input uploaded or saved?
No. The tool calculates inside this browser tab and provides a local download; it does not persist your input.
Keep going with related tools
All math →Moving Average and EWMA Calculator
Smooth an ordered numeric series with full-window simple averages or a stated EWMA seed.
MathLinear Regression Calculator
Fit a straight line to paired observations and report slope, intercept, and R².
MathDescriptive Statistics Calculator
Summarize a numeric list with mean, median, modes, range, count, and sum.
DataHierarchical Forecast Reconciliation Workbench
Make supplied forecasts add up across a small tree with bottom-up, equal-weight or declared-variance reconciliation.
MathMultiple Linear Least Squares Workbench
Fit a small multiple-predictor model with an intercept, stable centered residuals and transparent rank/orthogonality checks.
MathIndividuals Process Control Workbench
Calculate an individuals chart from a declared baseline or supplied target and flag exact three-sigma limit crossings.