This chapter explores models for time series with nonconstant means, termed nonstationary, contrasting them with deterministic trend models from Chapter 3. It emphasizes stochastic trends, common in economics and business, and introduces differencing as a method to achieve stationarity, leading to ARIMA models.
Introduction to Nonstationarity
A time series is nonstationary if its mean varies over time. Models like , where is a nonconstant mean and is stationary, assume a persistent deterministic trend. However, examples like the random walk (Exhibit 2.1) or monthly oil prices (Exhibit 5.1, January 1986–January 2006) suggest stochastic trends, where apparent trends arise without deterministic components.
Stationarity Through Differencing
Differencing transforms nonstationary series into stationary ones. For an AR(1) model :
- : Stationary (Chapter 4).
- : Explosive, e.g., yields , with exponentially growing variance (Exhibit 5.2 simulation).
- \phi = 1: Random walk, , or , where is stationary white noise.
More generally, if and changes slowly (deterministic or stochastic), may be stationary. Example: , , gives , an MA(1) process. Second differencing, , handles linear trends, e.g., , , yielding , an MA(2) process.
ARIMA Models
An ARIMA() model defines as a stationary ARMA() process, where is the differencing order (typically 1 or 2). It is defined as:
where:
- : Time series value at time .
- : Error term (white noise) at time .
- : Constant term (mean of differenced series).
- : Order of autoregressive terms.
- : Order of differencing.
- : Order of moving average terms.
- : Backshift operator ().
- : Differencing operator, applied times to make series stationary.
- : Autoregressive operator, .
- : Moving average operator, .
The model combines autoregressive (AR), differencing (I), and moving average (MA) components to model stationary or non-stationary time series.
IMA(1,1) Model
:
Property | Expression |
---|---|
Representation | |
Variance | |
Correlation | (large , moderate ) |
Weights persist, reflecting a stochastic trend.
IMA(2,2) Model
:
- Representation: .
- Variance grows rapidly; correlations remain near 1 for moderate lags (Exhibit 5.5 simulation, , ).
ARI(1,1) Model
, :
- -weights: , derived via .
Constant Terms in ARIMA Models
For with mean , e.g., in IMA(1,1), gains a linear trend . Generally, a nonzero implies a polynomial trend of degree in .
Other Transformations
Logarithms
If , then , stabilizing variance (e.g., oil prices, Exhibit 5.4). For percentage changes , , often stationary (e.g., electricity data, Exhibits 5.8–5.10).
Power Transformations
Box-Cox transformation: . Applied to positive data, is estimated (e.g., for electricity data, Exhibit 5.11).
Examples
ARIMA(1,1,1)
To create an ARIMA(1,1,1) model as described in ARIMA Models, we set , , . Below is the step-by-step derivation:
-
Identify parameters:
- : One autoregressive term.
- : One differencing.
- : One moving average term.
-
Substitute into the general formula:
Plugging in the operators:
-
Expand the left-hand side: Compute :
So the left-hand side becomes:
-
Write the full equation:
-
Apply the backshift operator:
- , .
- Left-hand side: .
- Right-hand side: .
-
Final ARIMA(1,1,1) model: