What is spurious regression between two trending time series, and how do you avoid it?

Quick Overview

Asks what spurious regression between trending time series is and how to avoid it. Tests understanding of unit roots, why OLS t-tests and R-squared mislead on nonstationary data, stationarity tests, differencing, and cointegration with error correction models.

What is spurious regression between two trending time series, and how do you avoid it?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is spurious regression between two trending time series, and how do you avoid it? ```hint Look at the residuals Picture two independent random walks regressed on each other. What do the residuals look like over time, and what does that do to the usual OLS standard errors? ``` ```hint The exception Ask what changes when some linear combination of the two trending series stays stationary. ``` ### What a Strong Answer Covers - A definition of spurious regression and the kind of nonstationarity that causes it - Why R-squared and OLS t-tests mislead when the series have unit roots - Diagnostics that reveal the problem in a fitted regression - The remedies: stationarity tests, differencing, and how cointegrated series are handled - Which common fixes, such as adding a time trend, work only in some cases ### Follow-up Questions - How would you test whether two I(1) series are cointegrated, and why can't you use the standard ADF critical values on the residuals? - If you difference two cointegrated series and regress the changes, what do you lose? - How does a trend-stationary series differ from a difference-stationary one, and how does that change the fix? - A dashboard shows cumulative sign-ups and cumulative revenue with a correlation of 0.99. What would you tell the product manager?

Overview: Asks what spurious regression between trending time series is and how to avoid it. Tests understanding of unit roots, why OLS t-tests and R-squared mislead on nonstationary data, stationarity tests, differencing, and cointegration with error correction models.

General logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

What is spurious regression between two trending time series, and how do you avoid it?

What a Strong Answer Covers Guidance

  • A definition of spurious regression and the kind of nonstationarity that causes it
  • Why R-squared and OLS t-tests mislead when the series have unit roots
  • Diagnostics that reveal the problem in a fitted regression
  • The remedies: stationarity tests, differencing, and how cointegrated series are handled
  • Which common fixes, such as adding a time trend, work only in some cases

Follow-up Questions Guidance

  • How would you test whether two I(1) series are cointegrated, and why can't you use the standard ADF critical values on the residuals?
  • If you difference two cointegrated series and regress the changes, what do you lose?
  • How does a trend-stationary series differ from a difference-stationary one, and how does that change the fix?
  • A dashboard shows cumulative sign-ups and cumulative revenue with a correlation of 0.99. What would you tell the product manager?