The full academy launches January 2027. Join the waitlist for the $179 founding price.
Waldbauer Academy of Economics

Courses › Graduate Econometrics

Graduate · Module 14 of 15

Time series econometrics

Stationarity and ergodicity, ARMA models, unit roots and Dickey–Fuller tests, vector autoregressions and impulse responses, cointegration, and local projections.

By Maximus S. Waldbauer · About 6 hours, including the problem set and quiz.

Time series data observe one unit, an economy, a market or a café chain, repeatedly over time. Observations are not independent: this month’s sales are informative about next month’s. Everything in this course so far has to be reconsidered with that in mind, from the law of large numbers to how standard errors are computed, and some phenomena appear that do not exist in cross-sections, notably unit roots and spurious regressions.

Statistics and Econometrics introduced autoregressions, forecasting and the warning about trending series, and promised cointegration for later. This module covers stationarity and ergodicity, ARMA models and forecasting, unit roots and Dickey–Fuller tests, vector autoregressions with impulse responses and their identification, cointegration and error correction, and local projections.

By the end of this module you will be able to

What this module covers

  1. Stationarity and dependence
  2. ARMA models and forecasting
  3. Unit roots and spurious regression
  4. Vector autoregressions
  5. Cointegration and local projections
  6. Problem set with step-by-step solutions
  7. Module quiz

Lesson 14.1 Free lesson

Stationarity and dependence

A time series {yt} is covariance stationary if its mean E[yt] = μ and autocovariances γk = Cov(yt, yt−k) do not depend on t. Its statistical behaviour is stable over time, so averages over time can estimate population moments. The autocorrelation function ρk = γk/γ0 summarizes its memory.

Stationarity is not enough for a law of large numbers. We also need dependence to die out: observations far apart should be nearly independent. Conditions such as ergodicity or mixing formalize this. Under them, the sample mean is consistent, and a central limit theorem holds with the long-run variance in place of the ordinary one:

√T(ȳ − μ) →d N(0, Ω), Ω = γ0 + 2Σk≥1γk

This is why Module 5’s HAC standard errors add up autocovariances. With positive autocorrelation, Ω exceeds γ0, so ignoring dependence makes standard errors too small.

Worked example: How much information is in two years of weekly sales?

Weekly sales follow an AR(1) with ρ = 0.6, so ρk = 0.6k. Then Ω/γ0 = 1 + 2(0.6 + 0.36 + …) = 1 + 2 × 0.6/0.4 = 4.

104 weeks carry as much information about mean sales as about 104/4 = 26 independent weeks. A naive standard error for the mean would be too small by a factor of 2.

Key ideas

  • Covariance stationarity: constant mean and autocovariances that depend only on the lag.
  • Laws of large numbers and CLTs need dependence to die out (ergodicity, mixing).
  • The long-run variance γ0 + 2Σγk replaces the variance; it is what HAC standard errors estimate.

Practice questions: Time series econometrics

Try these, then open each answer to check your work.

  1. 1.An AR(1) with ρ = 0.8 and error variance 1 has what variance?
    1. 1.25
    2. 1.80
    3. 2.78
    4. 5.00
    Show answer

    Answer: C. γ0 = σ2/(1 − ρ2) = 1/0.36 ≈ 2.78.

  2. 2.An AR(1) is covariance stationary when
    1. |ρ| > 1
    2. |ρ| < 1
    3. ρ = 1
    4. ρ < 0 only
    Show answer

    Answer: B. Shocks then decay geometrically and the variance is finite.

  3. 3.For an AR(1) with mean 6 and ρ = 0.9, the current value is 7. What is the two-step-ahead forecast?
    1. 6.81
    2. 6.90
    3. 7.00
    4. 7.29
    Show answer

    Answer: A. 6 + 0.92 × 1 = 6.81.

Problems with step-by-step solutions

  1. 4.An AR(1) has c = 2, ρ = 0.6 and σ2 = 4. Find the mean, variance and first two autocorrelations.
    Show step-by-step solution
    1. μ = 2/(1 − 0.6) = 5. γ0 = 4/(1 − 0.36) = 6.25.
    2. ρ1 = 0.6, ρ2 = 0.36.
  2. 5.Compute the long-run variance of the AR(1) in Problem 1 and the variance inflation relative to γ0.
    Show step-by-step solution
    1. For an AR(1), Ω = σ2/(1 − ρ)2 = 4/0.16 = 25.
    2. Ω/γ0 = 25/6.25 = 4 = (1 + ρ)/(1 − ρ).

Get the full module

The complete module adds every lesson, interactive graphs, a full problem set with step-by-step solutions, and a quiz. The academy opens in January 2027: join the waitlist for the founding price (lifetime access for $179).

Join the waitlist Try a full module free

More practice: free practice questions for this course.