ARIMA
Coming soonAdvanced & specialized
This test is implemented and is currently going through StatMinds’ production verification: every statistic is independently checked against a trusted reference (scipy / R), locked with regression tests, and the screen is exercised across assumption-met/violated and significant/non-significant scenarios before it opens up.
See what’s live nowUnivariate time-series modelling: AR(p) captures dependence on lagged values, I(d) handles non-stationarity via differencing, MA(q) captures dependence on lagged residuals.
The engine auto-selects (p, d, q) by AIC/BIC over a grid, validates stationarity (ADF / KPSS), residual independence (Ljung-Box), and reports forecasts with prediction intervals via simulation. SARIMA extends ARIMA with seasonal (P, D, Q, s) terms when the series shows periodicity. Standard workhorse for short-to-medium-horizon forecasting of stationary or trend-/seasonality-removable series.
Worked example
What will next month's sales be, given the trend and seasonality?
36 months of sales were modelled with ARIMA after differencing to remove the trend; the model then forecasts ahead with prediction intervals.
An ARIMA(1,1,1) model forecast next month's sales at 1,175 units, 95% prediction interval [1,103, 1,246].
An ARIMA(1,1,1) model forecast next-month sales at 1,175 units, 95% prediction interval [1,103, 1,246].
Try it yourself: Load this ready-made sample and follow the run above.
When to use it
- Univariate short-horizon forecastingA retailer forecasts the next 12 months of unit sales for a product line from 5 years (60 monthly observations) of history.
- Seasonal demand / weather / demand forecasting (SARIMA)Hourly electricity demand exhibits daily (s=24) seasonality and weekly (s=168) seasonality.
When NOT to — use instead
- Multivariate / multi-series joint modellingARIMA is univariate.
- Volatility / variance forecastingARIMA models conditional MEAN. → GARCH
- Sub-50 observation seriesARIMA estimation needs at least ~50 observations for stable p,q identification. → Linear Regression \u2014 OLS (continuous y + predictors)
- Strong non-linear dynamics (regime-switching, threshold effects)ARIMA is linear by construction; non-linear dynamics need TAR / Markov-switching / state-space models.
Hypotheses
Parameter tested: AR and MA coefficients with standard errors, z-statistics, and 95% confidence intervals.
Assumptions (and what to do if they fail)
Check: ADF p < 0.05 rejects unit root → stationary.
If violated: Non-stationary series produce spurious AR/MA estimates.
Check: Visual: no obvious jumps or regime shifts.
If violated: Structural breaks invalidate the stationarity assumption and bias forecasts.
Check: Ljung-Box p > 0.05 → residuals are white noise.
If violated: Autocorrelated residuals indicate the model has not captured all temporal structure.
Ready to run a ARIMA on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →