3.3 Time-Series Analysis: AR Models, Nonstationarity & Cointegration

Key Takeaways

  • A time series is covariance stationary if its mean, finite variance, and lag covariances are constant over time; an AR(1) model x_t = b_0 + b_1 x_{t-1} + e_t is stationary if |b_1| < 1, yielding mean-reverting level x_L = b_0 / (1 - b_1).

  • Correctly specified AR models produce serially uncorrelated white-noise residuals, evaluated via sample autocorrelations and information criteria (BIC penalizes extra parameters more heavily than AIC).

  • Random walk processes contain a unit root (b_1 = 1) with non-stationary, time-growing variance; they are detected using Augmented Dickey-Fuller (ADF) tests and transformed via first differencing (y_t = x_t - x_{t-1}).

  • Regressing two non-stationary I(1) series causes spurious regression unless they are cointegrated (tested via Engle-Granger ADF on residuals), which validates regression in levels and Error Correction Models (ECM), while ARCH models capture time-varying volatility clustering.

Last updated: August 2026

Time-Series Analysis in Investment Valuation

Financial and macroeconomic data are inherently sequential. Applying standard cross-sectional OLS regression to sequential time series without testing for stationarity leads to invalid statistical inference, parameter instability, and spurious regressions.


1. Covariance Stationarity

A time series {xt}\{x_t\} is defined as covariance stationary (or weakly stationary) if it satisfies three strict statistical conditions:

  1. Constant Expected Value (Mean): The mean of the series is constant and finite over all time periods: E(xt)=μfor all tE(x_t) = \mu \quad \text{for all } t
  2. Constant Finite Variance: The variance of the series is constant and finite over all time periods: Var(xt)=E[(xt−μ)2]=σ2<∞for all tVar(x_t) = E[(x_t - \mu)^2] = \sigma^2 < \infty \quad \text{for all } t
  3. Constant Covariance across Lags: The covariance between observations separated by ss periods depends solely on the displacement (lag ss) and not on the time index tt: Cov(xt,xt−s)=E[(xt−μ)(xt−s−μ)]=γsfor all t,sCov(x_t, x_{t-s}) = E[(x_t - \mu)(x_{t-s} - \mu)] = \gamma_s \quad \text{for all } t, s

2. Autoregressive (AR) Models

An autoregressive model of order pp, denoted AR(pp), models the current value xtx_t as a function of its own pp lagged values and a white noise disturbance term ϵt\epsilon_t:

xt=b0+b1xt−1+b2xt−2+⋯+bpxt−p+ϵt,ϵt∼WN(0,σ2)x_t = b_0 + b_1 x_{t-1} + b_2 x_{t-2} + \dots + b_p x_{t-p} + \epsilon_t, \quad \epsilon_t \sim WN(0, \sigma^2)

The AR(1) Model & The Mean-Reverting Level

For a first-order autoregressive process, AR(1):

xt=b0+b1xt−1+ϵtx_t = b_0 + b_1 x_{t-1} + \epsilon_t
  • Stationarity Condition: An AR(1) model is covariance stationary if and only if ∣b1∣<1|b_1| < 1.
  • Mean-Reverting Level (xLx_L): If a series is covariance stationary, setting E(xt)=E(xt−1)=xLE(x_t) = E(x_{t-1}) = x_L yields:
xL=b0+b1xL  ⟹  xL(1−b1)=b0  ⟹  xL=b01−b1x_L = b_0 + b_1 x_L \implies x_L(1 - b_1) = b_0 \implies \mathbf{x_L = \frac{b_0}{1 - b_1}}
  • Economic Meaning: If xt>xLx_t > x_L, the expected value for the next period is less than xtx_t (reverting downward toward xLx_L). If xt<xLx_t < x_L, the expected value for the next period is greater than xtx_t (reverting upward toward xLx_L).

Multi-Period Forecasting in AR(1)

Forecasting proceeds recursively using the chain rule of forecasting:

  • One-step ahead forecast: x^t+1=b^0+b^1xt\hat{x}_{t+1} = \hat{b}_0 + \hat{b}_1 x_t
  • Two-step ahead forecast: x^t+2=b^0+b^1x^t+1=b^0+b^1(b^0+b^1xt)=b^0(1+b^1)+b^12xt\hat{x}_{t+2} = \hat{b}_0 + \hat{b}_1 \hat{x}_{t+1} = \hat{b}_0 + \hat{b}_1 (\hat{b}_0 + \hat{b}_1 x_t) = \hat{b}_0(1 + \hat{b}_1) + \hat{b}_1^2 x_t
  • As the forecast horizon h→∞h \to \infty, the forecast converges asymptotically to the mean-reverting level xLx_L.

3. Residual Diagnostics & Model Selection

Testing for Residual Autocorrelation

A correctly specified AR(pp) model must transform the data such that the estimated residuals ete_t behave as white noise (serially uncorrelated). To verify this:

  1. Compute the sample autocorrelations of the residuals at lag kk: rk=Corr(et,et−k)r_k = \text{Corr}(e_t, e_{t-k}).
  2. The standard error of the sample autocorrelation is srk≈1Ts_{r_k} \approx \frac{1}{\sqrt{T}}, where TT is sample size.
  3. Compute the test statistic: t=rk1/T=rkTt = \frac{r_k}{1/\sqrt{T}} = r_k \sqrt{T} with df=T−p−1df = T - p - 1.
  4. If the residual autocorrelation at any lag is statistically significant (∣t∣>tcrit|t| > t_{crit}), the AR model is underspecified and additional lags must be added.

Moving Average (MA) and ARMA Models

  • MA(qq) Model: xt=μ+ϵt+θ1ϵt−1+⋯+θqϵt−qx_t = \mu + \epsilon_t + \theta_1 \epsilon_{t-1} + \dots + \theta_q \epsilon_{t-q}. Autocorrelations drop to zero after lag qq.
  • ARMA(p,qp, q) Model: Combines pp autoregressive terms and qq moving average terms: xt=b0+∑i=1pbixt−i+ϵt+∑j=1qθjϵt−jx_t = b_0 + \sum_{i=1}^p b_i x_{t-i} + \epsilon_t + \sum_{j=1}^q \theta_j \epsilon_{t-j}.

Information Criteria: AIC vs. BIC (SC)

When comparing competing ARMA models, analysts evaluate information criteria that balance goodness-of-fit against model complexity:

Akaike Information Criterion (AIC)=ln⁡(MSE)+2kT\text{Akaike Information Criterion (AIC)} = \ln(\text{MSE}) + \frac{2k}{T} Schwarz Bayesian Information Criterion (BIC / SC)=ln⁡(MSE)+kln⁡(T)T\text{Schwarz Bayesian Information Criterion (BIC / SC)} = \ln(\text{MSE}) + \frac{k \ln(T)}{T}

Where k=p+q+1k = p + q + 1 is total estimated parameters. Lower values indicate superior models. BIC imposes a larger penalty on additional parameters than AIC (since ln⁡(T)>2\ln(T) > 2 for T≥8T \ge 8), making BIC favor more parsimonious models.


4. Nonstationarity: Random Walks & Unit Roots

Random Walk Processes

A time series is a random walk if current value equals previous value plus a random shock:

xt=xt−1+ϵt,ϵt∼WN(0,σ2)x_t = x_{t-1} + \epsilon_t, \quad \epsilon_t \sim WN(0, \sigma^2)
  • Here, b1=1b_1 = 1. The process possesses a unit root.
  • Expected value: E(xt)=x0E(x_t) = x_0 (constant).
  • Variance: Var(xt)=tσ2Var(x_t) = t \sigma^2. The variance grows infinitely with time tt, violating covariance stationarity.
  • Mean-reverting level: xL=01−1=undefinedx_L = \frac{0}{1 - 1} = \text{undefined}.

Random Walk with Drift

xt=b0+xt−1+ϵt,b0≠0x_t = b_0 + x_{t-1} + \epsilon_t, \quad b_0 \neq 0
  • Expected value: E(xt)=x0+b0tE(x_t) = x_0 + b_0 t. The series exhibits a deterministic linear time trend and infinite variance (tσ2t \sigma^2).

Unit Root Testing: Dickey-Fuller & Augmented Dickey-Fuller (ADF)

We cannot test b1=1b_1 = 1 using standard tt-tests because nonstationary series violate the assumptions underlying the Student's tt-distribution. The Dickey-Fuller (DF) test transforms the AR(1) equation by subtracting xt−1x_{t-1} from both sides:

xt−xt−1=b0+(b1−1)xt−1+ϵt  ⟹  Δxt=b0+gxt−1+ϵtx_t - x_{t-1} = b_0 + (b_1 - 1) x_{t-1} + \epsilon_t \implies \Delta x_t = b_0 + g x_{t-1} + \epsilon_t

Where g=b1−1g = b_1 - 1. The hypotheses are:

  • H0:g=0H_0: g = 0 (b1=1  ⟹  b_1 = 1 \implies Unit root present / Nonstationary)
  • Ha:g<0H_a: g < 0 (b1<1  ⟹  b_1 < 1 \implies Covariance stationary)

The test uses specialized Dickey-Fuller critical τ\tau-values (which are substantially more negative than standard normal critical values, e.g., approx −2.89-2.89 at α=0.05\alpha = 0.05 with an intercept). If tstat<τcritt_{stat} < \tau_{crit}, reject H0H_0 and conclude the series is stationary.

  • Augmented Dickey-Fuller (ADF): Adds lagged changes ∑i=1kciΔxt−i\sum_{i=1}^k c_i \Delta x_{t-i} to eliminate higher-order residual autocorrelation:
Δxt=b0+gxt−1+∑i=1kciΔxt−i+ϵt\Delta x_t = b_0 + g x_{t-1} + \sum_{i=1}^k c_i \Delta x_{t-i} + \epsilon_t

Remedy for Unit Roots: First Differencing

If a time series contains a unit root (integrated of order 1, denoted xt∼I(1)x_t \sim I(1)), taking the first difference produces a stationary series (yt∼I(0)y_t \sim I(0)):

yt=Δxt=xt−xt−1y_t = \Delta x_t = x_t - x_{t-1}

5. Seasonality in Time Series

Quarterly or monthly financial data often exhibit regular seasonal swings (e.g., retail holiday revenue).

  • Detection: Seasonality is detected when the sample autocorrelations of residuals spike significantly at the seasonal lag (lag 4 for quarterly data, lag 12 for monthly data).
  • Remedy: Add a seasonal lag term directly into the autoregressive equation:
xt=b0+b1xt−1+b4xt−4+ϵt(for quarterly seasonality)x_t = b_0 + b_1 x_{t-1} + b_4 x_{t-4} + \epsilon_t \quad (\text{for quarterly seasonality})

6. Autoregressive Conditional Heteroskedasticity (ARCH)

In asset return series, periods of high volatility cluster together, as do periods of low volatility (volatility clustering). While return errors ϵt\epsilon_t may be serially uncorrelated (Cov(ϵt,ϵt−s)=0Cov(\epsilon_t, \epsilon_{t-s}) = 0), their variance is conditional on past squared shocks.

An ARCH(1) model specifies the conditional variance σt2\sigma_t^2 as:

σt2=a0+a1ϵt−12,a0>0,a1≥0\sigma_t^2 = a_0 + a_1 \epsilon_{t-1}^2, \quad a_0 > 0, a_1 \ge 0
  • Testing for ARCH: Estimate the primary AR model, obtain residuals ete_t, and regress squared residuals on lagged squared residuals:
≠t2=a0+a1et−12+ut\ne_t^2 = a_0 + a_1 e_{t-1}^2 + u_t

Test H0:a1=0H_0: a_1 = 0 (no ARCH) vs Ha:a1>0H_a: a_1 > 0 using an individual tt-test or the Engle LM test (LM=T×R2∼χ12LM = T \times R^2 \sim \chi^2_1). If a1a_1 is statistically significant, ARCH effects are present.

  • Consequences & Forecasting: If ARCH exists, OLS standard errors are invalid. Generalized Autoregressive Conditional Heteroskedasticity (GARCH) models must be estimated, and one-step-ahead volatility is forecasted as σ^t+12=a^0+a^1et2\hat{\sigma}_{t+1}^2 = \hat{a}_0 + \hat{a}_1 e_t^2.

7. Multi-Time-Series Regressions & Cointegration

When regressing one time series YtY_t on another XtX_t, the stationarity of both series governs the validity of the regression:

CaseNature of YtY_t and XtX_tValidity of Direct OLS RegressionCorrect Econometric Procedure
Case 1Both YtY_t and XtX_t are I(0)I(0) (Stationary)ValidEstimate standard OLS regression in levels.
Case 2One series is I(1)I(1) and the other is I(0)I(0)InvalidTransform I(1)I(1) series via first differencing before modeling.
Case 3Both YtY_t and XtX_t are I(1)I(1) (Nonstationary) & NOT CointegratedInvalid (Spurious Regression)First difference both series (ΔYt\Delta Y_t on ΔXt\Delta X_t). Direct OLS yields false high R2R^2, inflated tt-stats, and DW→0DW \to 0.
Case 4Both YtY_t and XtX_t are I(1)I(1) & CointegratedValid (True Long-Run Equilibrium)Estimate OLS in levels; estimates are super-consistent. Model dynamic adjustments via Error Correction Model (ECM).

Cointegration & The Engle-Granger Test

Two nonstationary I(1)I(1) series are cointegrated if there exists a cointegrating parameter β\beta such that their linear combination is stationary (I(0)I(0)):

≠t=Yt−β0−β1Xt∼I(0)\ne_t = Y_t - \beta_0 - \beta_1 X_t \sim I(0)
  • Engle-Granger Two-Step Test:
    1. Run OLS regression in levels: Yt=b0+b1Xt+etY_t = b_0 + b_1 X_t + e_t.
    2. Test the residual series ete_t for a unit root using the Augmented Dickey-Fuller test with specialized Engle-Granger critical values.
    3. If H0H_0 of a unit root in residuals is rejected, the series are cointegrated.
  • Error Correction Model (ECM): If cointegrated, the short-run dynamics are modeled with an error-correction mechanism:
ΔYt=α0+α1ΔXt+λ(Yt−1−b^1Xt−1)+ut\Delta Y_t = \alpha_0 + \alpha_1 \Delta X_t + \lambda (Y_{t-1} - \hat{b}_1 X_{t-1}) + u_t

Where λ<0\lambda < 0 is the error correction coefficient measuring the speed of adjustment back to long-run equilibrium.

Loading diagram...
Time-Series Econometric Modeling & Diagnostic Decision Tree
Test Your Knowledge

An econometrician estimates an AR(1) model for quarterly GDP growth: x_t = 3.20 + 0.60 * x_{t-1} + e_t. What is the long-run mean-reverting level of this series?

A

8.00%

B

5.33%

C

3.20%

D

2.00%

Test Your Knowledge

An analyst regresses annual sovereign bond yields of Country A on annual bond yields of Country B. Both yield series are integrated of order 1, I(1). The Augmented Dickey-Fuller test on the regression residuals fails to reject the null hypothesis of a unit root. What should the analyst conclude?

A

The two yield series are cointegrated, so the regression in levels is valid.

B

The regression model is super-consistent and provides reliable long-run forecasts.

C

The series can be modeled directly using an Error Correction Model without transformation.

D

The regression is spurious; the analyst must first-difference both series before estimating the relationship.

Test Your Knowledge

After estimating an AR(1) model for stock index returns, an analyst regresses the squared residuals on the lagged squared residuals: e_t^2 = 0.0004 + 0.38 * e_{t-1}^2 + u_t. The slope coefficient of 0.38 has a t-statistic of 4.25 (p-value < 0.001). Which of the following is the most accurate conclusion?

A

The AR(1) model has a unit root and requires first differencing.

B

The residual variance exhibits autoregressive conditional heteroskedasticity (ARCH), requiring ARCH/GARCH modeling.

C

The regression residuals suffer from positive first-order serial correlation.

D

The model suffers from severe multicollinearity among lagged variables.

Sections you finish are checked off in the contents.