Why are OLS standard errors wrong when residuals are autocorrelated, and how do Newey-West/HAC standard errors help?

Quick Overview

Asks why the usual OLS standard errors break down when time series regression residuals are autocorrelated and how Newey-West (HAC) standard errors change the inference. Tests the variance formula, the assumptions that keep coefficients unbiased, lag choice, and when modeling the dynamics is the better fix.

Why are OLS standard errors wrong when residuals are autocorrelated, and how do Newey-West/HAC standard errors help?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

A regression is fit by ordinary least squares on time series data, and its residuals turn out to be autocorrelated. Why are the usual OLS standard errors wrong in this setting, and how do Newey-West (HAC) standard errors help? ```hint Write out the variance Express the variance of $\hat\beta$ in terms of $X$ and the covariance matrix of the errors, then check what the textbook formula $\sigma^2 (X'X)^{-1}$ assumes about that matrix. ``` ```hint Coefficients versus inference Ask separately whether autocorrelation changes the point estimates and whether it changes their standard errors, and what you must assume about the regressors for the first answer to hold. ``` ### What a Strong Answer Covers - Whether OLS coefficients stay unbiased under autocorrelated errors, and the exogeneity assumption that answer depends on - Which assumption in the classical variance formula fails, and the direction and size of the resulting error in the standard errors - How the Newey-West estimator is built: the sandwich form, residual autocovariances, kernel weights and the truncation lag - How to choose the lag, and how HAC standard errors behave in small samples - When modeling the dynamics directly (lags, GLS, an error-correction model) is a better fix than correcting the standard errors ### Follow-up Questions - Your regression uses overlapping 12-month returns sampled monthly. What lag would you use for Newey-West, and why? - The model includes a lagged dependent variable and the residuals are autocorrelated. Do HAC standard errors fix the problem? - How would you test for residual autocorrelation before choosing a correction? - How do HAC standard errors differ from clustered standard errors, and when would you use each?

Overview: Asks why the usual OLS standard errors break down when time series regression residuals are autocorrelated and how Newey-West (HAC) standard errors change the inference. Tests the variance formula, the assumptions that keep coefficients unbiased, lag choice, and when modeling the dynamics is the better fix.

Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

A regression is fit by ordinary least squares on time series data, and its residuals turn out to be autocorrelated. Why are the usual OLS standard errors wrong in this setting, and how do Newey-West (HAC) standard errors help?

What a Strong Answer Covers Guidance

  • Whether OLS coefficients stay unbiased under autocorrelated errors, and the exogeneity assumption that answer depends on
  • Which assumption in the classical variance formula fails, and the direction and size of the resulting error in the standard errors
  • How the Newey-West estimator is built: the sandwich form, residual autocovariances, kernel weights and the truncation lag
  • How to choose the lag, and how HAC standard errors behave in small samples
  • When modeling the dynamics directly (lags, GLS, an error-correction model) is a better fix than correcting the standard errors

Follow-up Questions Guidance

  • Your regression uses overlapping 12-month returns sampled monthly. What lag would you use for Newey-West, and why?
  • The model includes a lagged dependent variable and the residuals are autocorrelated. Do HAC standard errors fix the problem?
  • How would you test for residual autocorrelation before choosing a correction?
  • How do HAC standard errors differ from clustered standard errors, and when would you use each?