“Autoregressive Integrated Moving Average (ARIMA) is a statistical model used to analyse and forecast time series data by predicting future points from their own historical patterns. Defined by three parameters – p, d, and q – it combines an autoregressive component (using past values), an integrated component (applying differencing to remove trends and stabilise the series), and a moving average component (incorporating past forecast errors to smooth out random noise).” – Autoregressive Integrated Moving Average (ARIMA) – Statistics
Forecasting quality depends less on producing a complicated equation than on matching the model to the way information accumulates through time. ARIMA is useful because it treats temporal dependence as a structured signal: recent observations can influence future observations, persistent movement can be removed through differencing, and earlier forecast mistakes can carry information about the next value. This makes the method both interpretable and operational for data such as demand, prices, production, traffic, and economic indicators.5,8
Its three orders describe distinct modelling decisions. The autoregressive order p specifies how many lagged observations enter the prediction. The integrated order d specifies how many times the series is differenced before the remaining process is treated as stationary. The moving-average order q specifies how many lagged forecast errors contribute to the current value. Thus, an ARIMA[p,d,q] model does not simply average historical data: it estimates a dynamic relationship between transformed observations and past innovations.
For a stationary series, the autoregressive component can be written as y_t=c+\phi_1y_{t-1}+\phi_2y_{t-2}+\cdots+\phi_py_{t-p}+\varepsilon_t, where y_t is the observed value at time t, c is an intercept or drift-related term, \phi_i are autoregressive coefficients, and \varepsilon_t is a new disturbance. The moving-average component adds lagged disturbances, giving the general ARMA form y_t=c+\varepsilon_t+\theta_1\varepsilon_{t-1}+\cdots+\theta_q\varepsilon_{t-q}. ARIMA applies this relationship not necessarily to the original series, but to its differenced form.8
Differencing is represented by the operator \Delta y_t=y_t-y_{t-1}. If one difference is sufficient, d=1; if the original series is already stationary, d=0. Repeated differencing can be written as \Delta^d y_t=(1-B)^d y_t, where B is the backshift operator defined by By_t=y_{t-1}. The practical objective is not to remove every visible movement, but to produce a transformed series whose mean, variance, and dependence structure are sufficiently stable for the fitted model. Excessive differencing can create unnecessary noise and distort forecasts, so the smallest adequate value is usually preferable.5,8
How the modelling process works
ARIMA modelling commonly follows an iterative sequence of identification, estimation, diagnosis, and forecasting. Analysts inspect the original series, consider transformations such as logarithms where variability grows with the level, and examine autocorrelation and partial autocorrelation patterns. Candidate values for p, d, and q are then fitted and compared using likelihood-based criteria such as AIC, alongside out-of-sample forecast tests. Statistical significance alone is not enough: a model with more parameters can fit historical noise while performing poorly on future observations.
After estimation, residuals should behave approximately like an uncorrelated innovation sequence. If residual autocorrelation remains, the model has failed to capture some predictable structure. Residual variance should also be inspected for changing scale, outliers, and regime shifts. Forecast intervals depend on assumptions about the error process, so apparently precise point predictions should not be treated as certainty. Forecasting references stress that correlated residuals can make prediction intervals unreliable even when point forecasts appear plausible.5
Forecasting proceeds recursively. For a future horizon T+h, observed values are replaced by forecasts once the prediction moves beyond the available sample, while future errors are set to their expected value, generally zero. The resulting point forecast is conditional on the estimated parameters and the information available at time T. Prediction intervals widen with the horizon because uncertainty accumulates, particularly when the differenced process is integrated back into the original scale.5,8
Interpretations and extensions
One influential school treats ARIMA as a disciplined Box-Jenkins approach: begin with a plausible transformation, use dependence diagnostics to identify a parsimonious structure, validate residuals, and revise the specification when evidence demands it. A complementary view treats ARIMA primarily as a forecasting benchmark. Its linear structure is transparent, computationally efficient, and often difficult for more elaborate methods to beat when the data contain stable short-range dependence but limited external information.
The basic model is univariate, but practical applications often need additional predictors. ARIMA implementations can include exogenous regressors, deterministic terms, and seasonal components, while state-space formulations support prediction, simulation, smoothing, and diagnostic analysis.1,4 Seasonal ARIMA extends the notation to SARIMA(p,d,q)(P,D,Q)_s, where P, D, and Q describe seasonal autoregressive, differencing, and moving-average orders, and s is the seasonal period. A weekly pattern in daily data, for example, may require s=7.
These extensions expose an important limitation: ARIMA does not explain causation merely because it predicts well. A coefficient describes conditional temporal association within the chosen specification, not necessarily an underlying mechanism. Structural breaks, policy changes, technological shifts, missing data, nonlinear dependence, and volatility clustering can all weaken performance. Long-range forecasts are especially vulnerable because the model extrapolates historical dynamics rather than reasoning about future interventions or new regimes.
Why ARIMA remains relevant
Modern machine-learning models can represent nonlinear relationships and combine many predictors, yet they introduce their own risks, including overfitting, opaque behaviour, demanding data requirements, and unstable performance under distributional change. ARIMA remains valuable as an interpretable baseline, as a component in hybrid systems, and as a strong choice when the principal signal is serial correlation in a regularly sampled series. The statsmodels implementation also presents ARIMA as an interface encompassing exogenous regressors and seasonal components, reflecting how the method is used in contemporary software rather than as a narrowly historical technique.1,3
The most defensible use of ARIMA is therefore comparative and diagnostic. Establish a sensible baseline, evaluate rolling or expanding-window forecasts, inspect residuals, compare against naïve and seasonal-naïve methods, and report uncertainty alongside point estimates. The model earns credibility when it survives these tests, not merely when its fitted coefficients look statistically impressive. Its enduring contribution is a compact language for separating persistence, trend removal, and shock propagation, allowing analysts to understand what a forecast assumes before relying on what it predicts.
References
1. statsmodels.tsa.arima.model.ARIMA# – https://www.statsmodels.org/devel//generated/statsmodels.tsa.arima.model.ARIMA.html
2. 10.3 Forecasting | Forecasting: Principles and Practice (3rd ed) – https://otexts.com/fpptr/forecasting.html
3. Autoregressive Integrated Moving … – https://www.statsmodels.org/devel/examples/notebooks/generated/autoregressive_integrated_moving_average.html
4. Time Series analysis tsa# – https://www.statsmodels.org/dev/tsa
5. Chapter 8 ARIMA models | Forecasting: Principles and Practice … – https://otexts.robjhyndman.com/fpp2/arima.html
6. statsmodels.tsa.arima.model.ARIMA# – https://www.statsmodels.org/stable//generated/statsmodels.tsa.arima.model.ARIMA.html
7. statsmodels.tsa.arima.model – statsmodels 0.15.0 (+59) – https://www.statsmodels.org/dev/_modules/statsmodels/tsa/arima/model.html
8. ARMA – Information Technology Laboratory – NIST – 2001-05-06 – https://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/arma.htm
9. statsmodels.tsa.arima_model.ARIMA – https://www.statsmodels.org/0.9.0/generated/statsmodels.tsa.arima_model.ARIMA.html
10. statsmodels.tsa.arima.model. – https://www.statsmodels.org/dev/generated/statsmodels.tsa.arima.model.ARIMA.html
