Stationarity &
Autocorrelation
Master the foundational concepts of time series analysis: when a process is stable over time, and how observations relate to their own past values.
What Is a Time Series?
A time series is a sequence of data points indexed in time order: \( \{X_t\}_{t=1}^{T} \). Each observation \( X_t \) is a realization of a random variable at time \( t \). The entire collection is called a stochastic process.
Defining Stationarity
A process \( \{X_t\} \) is strictly stationary if the joint distribution of any collection \( (X_{t_1}, X_{t_2}, \ldots, X_{t_k}) \) is identical to \( (X_{t_1+h}, X_{t_2+h}, \ldots, X_{t_k+h}) \) for all \( h \). In practice, we use a weaker condition.
Conditions for Weak Stationarity
Stationary vs Non-Stationary
The Autocovariance Function
For a weakly stationary process, the autocovariance function (ACVF) at lag \( h \) is: $$ \gamma(h) = \text{Cov}(X_t, X_{t+h}) = E[(X_t - \mu)(X_{t+h} - \mu)] $$ This is well-defined because it depends only on \( h \), not on \( t \).
The Autocorrelation Function (ACF)
The autocorrelation function normalizes the ACVF so values lie in \([-1, 1]\): $$ \rho(h) = \frac{\gamma(h)}{\gamma(0)} = \frac{\text{Cov}(X_t, X_{t+h})}{\text{Var}(X_t)} $$
Reading a Correlogram
ACF vs PACF
| ACF \( \rho(h) \) | PACF \( \phi_{hh} \) | |
|---|---|---|
| Measures | Total correlation at lag \( h \) | Direct correlation at lag \( h \), removing intermediate lags |
| AR(p) signature | Tails off (decays gradually) | Cuts off after lag \( p \) |
| MA(q) signature | Cuts off after lag \( q \) | Tails off (decays gradually) |
| Use | Identify MA order | Identify AR order |
White Noise: The Building Block
A white noise process \( \{W_t\} \sim \text{WN}(0, \sigma^2) \) satisfies: $$ E[W_t] = 0, \quad \text{Var}(W_t) = \sigma^2, \quad \gamma(h) = 0 \text{ for } h \neq 0 $$ It is the simplest stationary process: no memory at all.
Example: AR(1) Process
The first-order autoregressive model is: $$ X_t = \phi X_{t-1} + W_t, \quad W_t \sim \text{WN}(0, \sigma^2) $$ It is stationary if and only if \( |\phi| < 1 \).
Example: MA(1) Process
The first-order moving average model is: $$ X_t = W_t + \theta W_{t-1}, \quad W_t \sim \text{WN}(0, \sigma^2) $$ An MA(1) is always stationary regardless of \( \theta \).
How to Check for Stationarity
Worked Example: Sample ACF
Given observations \( x_1=2,\; x_2=5,\; x_3=4,\; x_4=7,\; x_5=6 \), compute \( \hat{\rho}(1) \).
Example: The Random Walk
Consider \( X_t = X_{t-1} + W_t \), with \( X_0 = 0 \) and \( W_t \sim \text{WN}(0,1) \). This is an AR(1) with \( \phi = 1 \).
Common Mistakes
Summary of Key Concepts
| Concept | Definition | Key Property |
|---|---|---|
| Weak Stationarity | Constant mean, variance, and lag-dependent autocovariance | Required for ARMA modeling |
| ACVF \( \gamma(h) \) | \( \text{Cov}(X_t, X_{t+h}) \) | Symmetric, positive semi-definite |
| ACF \( \rho(h) \) | \( \gamma(h) / \gamma(0) \) | Bounded by \([-1,1]\), identifies MA order |
| PACF \( \phi_{hh} \) | Direct correlation at lag \( h \) | Identifies AR order |
| White Noise | \( \gamma(h)=0 \) for \( h \neq 0 \) | No memory: the simplest stationary process |
Question 1 of 5
Which of the following is not a condition for weak (covariance) stationarity?
Question 2 of 5
For an AR(1) process \( X_t = 0.6 X_{t-1} + W_t \), what is \( \rho(2) \)?
Question 3 of 5
A correlogram shows the ACF cutting off sharply after lag 2, with all higher-lag values near zero. This pattern suggests which model?
Question 4 of 5
The random walk \( X_t = X_{t-1} + W_t \) is non-stationary because:
Question 5 of 5
For an MA(1) process \( X_t = W_t + \theta W_{t-1} \), the PACF will: