In time series analysis used in statistics and econometrics, autoregressive integrated moving average (ARIMA) and seasonal ARIMA (SARIMA) models are generalizations of the autoregressive moving average (ARMA) model to non-stationary series and periodic variation, respectively. All these models are fitted to time series in order to better understand it and predict future values. The purpose of these generalizations is to fit the data as well as possible. Specifically, ARMA assumes that the series is stationary, that is, its expected value is constant in time. If instead the series has a trend (but a constant variance/autocovariance), the trend is removed by "differencing", leaving a stationary series. This operation generalizes ARMA and corresponds to the "integrated" part of ARIMA. Analogously, periodic variation is removed by "seasonal differencing".
Components As in ARMA, the "autoregressive" (AR) part of ARIMA indicates that the evolving variable of interest is regressed on its prior values. The "moving average" (MA) part indicates that the regression error is a linear combination of error terms whose values occurred contemporaneously and at various times in the past. The "integrated" (I) part indicates that the data values have been replaced with the difference between each value and the previous value. According to Wold's decomposition theorem the ARMA model is sufficient to describe a regular (a.k.a. purely nondeterministic) wide-sense stationary time series. This motivates to make such a non-stationary time series stationary, e.g., by using differencing, before using ARMA. If the time series contains a predictable sub-process (a.k.a. pure sine or complex-valued exponential process), the predictable component is treated as a non-zero-mean but periodic (i.e., seasonal) component in the ARIMA framework that it is eliminated by the seasonal differencing.
Mathematical formulation Non-seasonal ARIMA models are usually denoted by ARIMA(p, d, q), where parameters p, d, q are non-negative integers: p is the order (number of time lags) of the autoregressive model, d is the degree of differencing (the number of times the data have had past values subtracted), and q is the order of the moving-average model. Seasonal ARIMA models are usually denoted by ARIMA(p, d, q)(P, D, Q)m, where the uppercase P, D, Q are the autoregressive, differencing, and moving average terms for the seasonal part of the ARIMA model, and m is the number of periods in each season. When two of the parameters are 0, the model may be referred to based on the non-zero parameter, dropping "AR", "I" or "MA" from the acronym. For example, ARIMA(1,0,0) is AR(1), ARIMA(0,1,0) is I(1), and ARIMA(0,0,1) is MA(1). Given time series data Xt where t is an integer index and the Xt are real numbers, an ARMA(p′,q) model is given by
Xt−α1Xt−1−⋯−αp′Xt−p′=εt+θ1εt−1+⋯+θqεt−q, or equivalently by
(1−∑i=1p′αiLi)Xt=(1+∑i=1qθiLi)εt where L is the lag operator, the αi are the parameters of the autoregressive part of the model, the θi are the parameters of the moving average part and the εt are error terms. The error terms εt are generally assumed to be independent, identically distributed variables sampled from a normal distribution with zero mean. If the polynomial (1−∑i=1p′αiLi) has a unit root (a factor (1−L)) of multiplicity d, then it can be rewritten as:
(1−∑i=1p′αiLi)=(1−∑i=1p′−dφiLi)(1−L)d. An ARIMA(p, d, q) process expresses this polynomial factorisation property with p = p'−d, and is given by:
(1−∑i=1pφiLi)(1−L)dXt=(1+∑i=1qθiLi)εt and so is special case of an ARMA(p+d, q) process having the autoregressive polynomial with d unit roots. (This is why no process that is accurately described by an ARIMA model with d > 0 is wide-sense stationary.) The above can be generalized as follows.
(1−∑i=1pφiLi)(1−L)dXt=δ+(1+∑i=1qθiLi)εt. This defines an ARIMA(p, d, q) process with drift δ1−∑φi.
Other special forms The explicit identification of the factorization of the autoregression polynomial into factors as above can be extended to other cases, firstly to apply to the moving average polynomial and secondly to include other special factors. For example, having a factor (1−Ls) in a model is one way of including a non-stationary seasonality of period s into the model; this factor has the effect of re-expressing the data as changes from s periods ago. Another example is the factor (1−3L+L2), which includes a (non-stationary) seasonality of period 2. The effect of the first type of factor is to allow each season's value to drift separately over time, whereas with the second type values for adjacent seasons move together. Identification and specification of appropriate factors in an ARIMA model can be an important step in modeling as it can allow a reduction in the overall number of parameters to be estimated while allowing the imposition on the model of types of behavior that logic and experience suggest should be there.
Differencing
A stationary time series's properties do not change. Specifically, for a wide-sense stationary time series, the mean and the variance/autocovariance are constant over time. Differencing in statistics is a transformation applied to a non-stationary time-series in order to make it trend stationary (i.e., stationary in the mean sense), by removing or subtracting the trend or non-constant mean. However, it does not affect the non-stationarity of the variance or autocovariance. Likewise, seasonal differencing or deseasonalization is applied to a time-series to remove the seasonal component. From the perspective of signal processing, especially the Fourier spectral analysis theory, the trend is a low-frequency part in the spectrum of a series, while the season is a periodic-frequency part. Therefore, differencing is a high-pass (that is, low-stop) filter and the seasonal-differencing is a comb filter to suppress respectively the low-frequency trend and the periodic-frequency season in the spectrum domain (rather than directly in the time domain). To difference the data, we compute the difference between consecutive observations. Mathematically, this is shown as
yt′=yt−yt−1 It may be necessary to difference the data a second time to obtain a stationary time series, which is referred to as second-order differencing:
… excerpt ends here. Continue reading the full article.