ARIMA(p,d,q) Process
An autoregressive integrated moving-average process of orders is the natural extension of ARMA(p, q) to time series whose mean drifts over time and whose first or second differences are needed to bring them to stationarity. The “I” stands for integrated, meaning that the original series is the -fold cumulative sum (the discrete integral) of an underlying stationary ARMA process. In practice, fitting goes the other way around, by differencing the observed series times to produce a stationary residual that is then modeled as ordinary ARMA. A series is therefore ARIMA(p, d, q) when its -th difference is stationary ARMA(p, q),
or equivalently , where and satisfy the usual stationarity-of-differenced-process and invertibility root conditions and . If the differenced series is allowed to have a non-zero mean , a drift term is added to give .The differencing order is almost always either or . One difference removes a linear trend or a single random walk; two differences remove a quadratic trend or a random walk whose own slope is itself a random walk. Differencing more than twice is essentially never needed in practice and is generally a sign of over-differencing: differencing a series that was already stationary creates spurious correlation and leaves the fit struggling with a near-unit MA root, so should be chosen no larger than necessary. Standard practice is to test for non-stationarity with the Augmented Dickey-Fuller (ADF) test or the KPSS test before deciding on .
Forecasting an ARIMA model is done in two stages: the differenced series is forecast by ordinary ARMA techniques, and the resulting forecasts are then integrated back to the original scale by repeated cumulative summation, propagating both the point forecasts and their variances. Because the differencing filter has zero gain at frequency (see 2.3.4 Linear Filters and Frequency Response), it irreversibly removes any constant level from the series, and the absolute level of the forecast has to be reconstructed from the last observed value through the integration step rather than being predicted directly by the model.
Over-Differencing is white noise, then is an MA(1) whose polynomial has a root at exactly , on the unit circle and therefore not invertible. A fitted ARIMA(0, 1, 1) on white noise will return with vanishing standard error, and the inverted recursion needed for forecasting will fail to converge. The rule is to difference until the series looks stationary in mean and variance and then stop, supported by an ADF or KPSS test. Default to ; only use when there is clear diagnostic support for a doubly-integrated trend.
Differencing a series that is already stationary adds spurious correlation and produces a non-invertible MA component. Concretely, if
Intuition
The conceptual move from ARMA to ARIMA is to handle non-stationarity by removing it before modeling. Instead of asking how to fit a non-stationary series directly, the analyst differences the series (subtracts each value from the next) until the result no longer drifts, and then fits an ordinary ARMA to the differenced version. The “integrated” name reflects the inverse step: undoing the differencing means cumulatively summing, the discrete analogue of integration. A pure random walk , which has no preferred level and whose variance grows linearly with time, is the simplest example: differencing once recovers white noise, so the random walk is ARIMA(0, 1, 0), with no AR or MA structure beyond the integration itself.
The cost of differencing is a partial loss of low-frequency information. The differencing filter passes high-frequency variation through unchanged but kills the constant component entirely: its frequency response is , which is zero at and reaches its maximum of at . This is exactly the desired behavior when removing a trend, but it also means the differenced model has nothing to say about the absolute level of the series, only about its changes. Forecasting back to absolute levels requires the integration step, and forecast variance grows much faster for ARIMA than for stationary ARMA: the variance of the -step random-walk forecast grows linearly in , while for a pure stationary ARMA it converges to a finite limit.
Properties
(Differencing Removes Polynomial Trends) For deterministic polynomial trends of degree , differences make the series stationary.
If with a degree- polynomial trend and a stationary process, then applying the operator annihilates polynomials of degree below entirely and reduces the degree- polynomial to a constant. Combined with the differencing of the stationary part (which remains stationary because differencing is a fixed linear filter on a stationary input), the result is stationary. The leading coefficient shows up as the constant mean of the differenced series, a drift term in the ARIMA fit.
(Differencing Removes Stochastic Trends) For random-walk trends, one difference suffices; for nested random walks, two differences are needed.
If where is itself a random walk ( with stationary), then is stationary because both pieces are. If instead is itself an integrated random walk (a random walk whose increments are themselves a random walk), then differencing once gives in which is still non-stationary, and a second difference is required. Many real series, such as GDP, populations, and asset prices, behave more like random walks than like deterministic trends, and the same differencing operator handles both deterministic and stochastic trends without needing to commit to which type the series follows.
(Random Walk = ARIMA(0, 1, 0)) The simplest non-trivial ARIMA model is the random walk, and it is the benchmark every ARIMA fit should beat.
The random walk becomes white noise after one differencing, so it is ARIMA(0, 1, 0): no AR or MA structure beyond the integration. Its -step-ahead forecast is just the last observed value, for every , with forecast variance growing linearly in the horizon. This is the “no information about the future” benchmark: any ARIMA model with or has to demonstrate out-of-sample accuracy beyond the random walk to justify its added parameters. For many financial-return series, the random walk turns out to be hard to beat.
(ARIMA(0, 1, 1) = Single Exponential Smoothing) The simplest ARIMA model with a non-trivial MA component is mathematically equivalent to single exponential smoothing.
The model , that is, ARIMA(0, 1, 1) with no AR component, turns out, after working through the recursion, to give one-step-ahead forecasts of the form with smoothing parameter (and corresponds to the standard range). This connects classical exponential smoothing (Holt’s method, Brown’s method, and their seasonal extensions) to the ARIMA framework, and means that the family of seasonal ARIMA models like the famous “airline model” ARIMA are the modern, general-purpose generalizations of the exponential-smoothing tools that dominated business forecasting before Box-Jenkins.
(Forecast Variance Grows with Horizon) The widening forecast cone is the structural cost of integration.
For a stationary ARMA model, the -step forecast variance converges as to the unconditional variance of the process, capping the size of the prediction interval at a finite value. For a non-stationary ARIMA model with , no such cap exists: the variance grows polynomially in the horizon. For ARIMA(0, 1, 0) it grows linearly as ; for general ARIMA(p, 1, q) it grows asymptotically as for some constant that depends on the AR and MA coefficients; for ARIMA(p, 2, q) it grows much faster, asymptotically as . The widening forecast cone reflects the fundamental forecastability limit of integrated processes: the further out you predict, the wider your uncertainty becomes, and beyond some horizon the forecast stops being informative.
(Over-Differencing Creates Non-Invertible MA Roots) The diagnostic signature of over-differencing is an MA(1) coefficient pinned at the boundary .
If is stationary and you difference it anyway, the resulting series has the factor in its MA polynomial, which has root exactly on the unit circle. Software then fights to keep the MA coefficient at the boundary of invertibility, producing huge standard errors and warning messages. The simple diagnostic is to fit an MA(1) to the residual after the alleged differencing and check whether ; if it is, you have over-differenced, and the model should be refit with one fewer difference.
Examples
Linear-trend example
Show that is stationary when with a stationary AR(1).
Solution The constant is the slope of the trend, which becomes the drift of the differenced series; is the differencing of a stationary process, which is itself stationary because differencing is a fixed linear filter. Fitting an ARIMA(p, 1, q) with drift to recovers the slope as the drift coefficient and the AR(1) parameter of as the AR(1) parameter of the differenced series.
Computing the difference directly,
Two nested random walks need
For where itself follows with stationary, show that is non-stationary but is stationary.
Solution comes . But is itself a random walk, since , with variance that grows linearly in , so it is non-stationary. So one differencing leaves a series whose variance still depends on time. Differencing again, , which is stationary by assumption. So is "integrated of order 2," conventionally written , and an ARIMA fit needs to bring it to stationarity.
From
Over-differencing white noise
What happens when you fit an ARIMA(0, 1, 1) to a series that is in fact pure white noise?
Solution , with autocovariance , and zero at higher lags. This is an MA(1) whose autocorrelation implies a satisfying , which gives , exactly on the invertibility boundary. The MA polynomial has its root at , on the unit circle. Fitting an ARIMA(0, 1, 1) to white noise will return very close to with a standard error close to zero, and any forecasting routine that requires invertibility will refuse to converge or will produce nonsensical forecasts. The correct model is ARIMA(0, 0, 0), no differencing at all.
Differencing white noise gives
Forecasting an ARIMA(0, 1, 1) model
For with , with and the last computed shock , compute the one-step and two-step forecasts.
Solution , take expectation given the past: . The two-step forecast does the same trick from the now-known : . The MA shocks past the latest observation are unforecastable (their conditional expectation is zero), and the AR side is just the random-walk integration, so all multi-step forecasts collapse to the one-step value. The forecast variance, on the other hand, grows: at horizon 2 it is , and continues to grow linearly in thereafter.
The one-step forecast unrolls