What is spurious regression?

Quick Overview

Asks what spurious regression is and why a regression between unrelated time series can show a strong, significant fit. Tests understanding of non-stationarity, residual diagnostics, unit-root and cointegration tests, and how this differs from confounding.

What is spurious regression?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is spurious regression? The question usually comes up when someone regresses one time series on another and reports a strong, significant fit. ```hint Check the assumptions Think about what happens to the usual OLS assumptions and test statistics when both series wander over time without returning to a fixed mean. ``` ### What a Strong Answer Covers - A precise definition and the setting where it typically arises. - The mechanism: why the usual t statistics and R-squared mislead when the series are non-stationary. - Diagnostics that point to a spurious fit. - Remedies, and the case where a regression in levels is legitimate. - How it relates to, and differs from, a relationship produced by a confounder. ### Follow-up Questions - Two series are both integrated of order one but cointegrated. Is a regression in levels still spurious? - Why does differencing fix the problem, and what do you lose by differencing? - Do Newey-West (HAC) standard errors rescue inference in a spurious regression? - How would you tell a deterministic trend from a stochastic one before choosing between detrending and differencing?

Overview: Asks what spurious regression is and why a regression between unrelated time series can show a strong, significant fit. Tests understanding of non-stationarity, residual diagnostics, unit-root and cointegration tests, and how this differs from confounding.

General logo
General
Nov 25, 2026
mediumData ScientistOtherMachine Learning
0
0

What is spurious regression?

The question usually comes up when someone regresses one time series on another and reports a strong, significant fit.

What a Strong Answer Covers Guidance

  • A precise definition and the setting where it typically arises.
  • The mechanism: why the usual t statistics and R-squared mislead when the series are non-stationary.
  • Diagnostics that point to a spurious fit.
  • Remedies, and the case where a regression in levels is legitimate.
  • How it relates to, and differs from, a relationship produced by a confounder.

Follow-up Questions Guidance

  • Two series are both integrated of order one but cointegrated. Is a regression in levels still spurious?
  • Why does differencing fix the problem, and what do you lose by differencing?
  • Do Newey-West (HAC) standard errors rescue inference in a spurious regression?
  • How would you tell a deterministic trend from a stochastic one before choosing between detrending and differencing?