Inferensys

Glossary

Spurious Regression

A regression that suggests a statistically significant relationship between two or more independent non-stationary variables when no meaningful causal link exists.
Developer building agentic RAG system, retrieval pipeline diagram on laptop, technical workspace with notes.
NONSENSE CORRELATION

What is Spurious Regression?

A spurious regression occurs when a statistical model indicates a strong, significant relationship between two or more independent non-stationary time series variables, despite the absence of any meaningful causal or economic link.

Spurious regression is a statistical phenomenon where standard diagnostic tests, such as high R-squared values and significant t-statistics, falsely suggest a relationship between unrelated non-stationary variables. This illusion arises because shared stochastic trends in drifting time series create a high degree of contemporaneous correlation, violating the assumptions of the classical linear regression model and rendering standard inference invalid.

First formally identified by Granger and Newbold, the risk of spurious regression is mitigated by testing for stationarity and cointegration. If variables are integrated of order one, I(1), and not cointegrated, regressing them in levels yields unreliable results. The standard remedy is to difference the data to achieve stationarity or to employ a Vector Error Correction Model (VECM) if a long-run equilibrium relationship genuinely exists.

SPURIOUS REGRESSION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about spurious regression, its detection, and its impact on quantitative financial modeling.

Spurious regression is a statistical phenomenon where a standard ordinary least squares (OLS) regression indicates a highly significant, often deceptively strong, linear relationship between two or more independent non-stationary time series variables when no meaningful economic or causal link exists. It occurs because non-stationary processes, such as random walks, contain stochastic trends that drift persistently over time. When regressing one integrated time series on another, the shared trending behavior dominates the regression, producing artificially high R-squared values and t-statistics that converge to non-zero distributions instead of zero, even when the error term is itself non-stationary. This violates the Gauss-Markov theorem's assumption of finite variance, rendering standard hypothesis tests invalid and leading analysts to falsely reject the null hypothesis of no relationship.

THE MECHANISM OF NON-STATIONARY CORRELATION

How Spurious Regression Occurs

Spurious regression arises when standard statistical tests falsely indicate a meaningful relationship between independent, non-stationary time series variables that are actually unrelated.

The phenomenon occurs because non-stationary variables contain stochastic trends—random walks with drift—that accumulate over time. When regressing one independent random walk on another, the residuals are themselves non-stationary, violating the Gauss-Markov assumptions. This causes the ordinary least squares estimator to be inconsistent, producing inflated t-statistics, high R-squared values, and deceptively low p-values that suggest significance where only coincidental trending exists.

The root cause is a violation of the assumption that the error term has a constant, finite variance. As the sample size increases, the variance of the residuals diverges to infinity rather than converging. Consequently, the standard Durbin-Watson statistic collapses toward zero, signaling strong autocorrelation. The only reliable remedy is to difference the series to achieve stationarity or test for a cointegrating relationship before interpreting regression output.

DIAGNOSTIC INDICATORS

Key Characteristics of Spurious Regression

Spurious regression arises when non-stationary time series are regressed against each other, producing statistically significant but economically meaningless relationships. The following characteristics help identify and avoid this pitfall in quantitative finance.

01

High R² with Low Durbin-Watson

A classic signature of spurious regression is an artificially high coefficient of determination (R²)—often exceeding 0.90—combined with a Durbin-Watson statistic near zero. This indicates strong apparent explanatory power alongside severe positive autocorrelation in the residuals.

  • Granger and Newbold (1974) demonstrated that random walks routinely produce R² > 0.95
  • A Durbin-Watson statistic below 1.0 strongly suggests non-stationary residuals
  • The combination signals that the model is capturing stochastic trends rather than genuine relationships
02

Non-Stationary Variable Dependence

Spurious regression occurs exclusively when both the dependent and independent variables are non-stationary—typically integrated of order one, I(1). The regression exploits shared stochastic trends rather than causal linkages.

  • Variables with unit roots drift over time without mean reversion
  • Differencing the series to I(0) often eliminates the spurious relationship entirely
  • Testing for stationarity via ADF or KPSS tests is a prerequisite before interpreting regression output
03

Residual Non-Stationarity

In a valid regression, residuals should be white noise—stationary with constant variance. In spurious regressions, residuals inherit the non-stationarity of the underlying series, causing them to wander persistently away from zero.

  • Residual-based cointegration tests (Engle-Granger) check whether residuals are stationary
  • If residuals are I(1), the regression is spurious regardless of t-statistic significance
  • Plotting residuals over time often reveals long swings and trending behavior
04

Inflated t-Statistics

Standard errors in spurious regressions are severely underestimated, causing t-statistics to explode and null hypotheses to be rejected far too often. Phillips (1986) proved that as sample size increases, the probability of falsely finding significance approaches 1.

  • Conventional critical values become meaningless for I(1) variables
  • The t-ratio diverges at rate √T rather than converging to a stable distribution
  • Bootstrapping or specialized asymptotic theory is required for valid inference with non-stationary data
05

Cointegration as the Antidote

The only scenario where regressing non-stationary series yields meaningful results is when they are cointegrated—sharing a long-run equilibrium relationship. In this case, a linear combination of the I(1) variables is itself I(0).

  • Engle-Granger two-step method tests for cointegration by examining residual stationarity
  • Johansen's trace test identifies multiple cointegrating vectors in multivariate systems
  • Cointegrated regressions are superconsistent—estimates converge to true values at rate T rather than √T
06

First-Differencing Transformation

When cointegration is absent, the standard remedy is to difference non-stationary variables to stationarity before modeling. This transforms the analysis from spurious levels to meaningful changes.

  • First-differencing I(1) variables produces I(0) series suitable for standard inference
  • The trade-off is loss of long-run information—only short-run dynamics are captured
  • For financial applications, log returns (differenced log prices) are naturally stationary and avoid spurious regression entirely
DIAGNOSTIC COMPARISON

Spurious Regression vs. Cointegration

Key distinctions between a statistically misleading relationship among non-stationary variables and a genuine long-run equilibrium relationship.

FeatureSpurious RegressionCointegration

Variable Order of Integration

I(1) or higher; no common stochastic trend

I(1) variables sharing a common stochastic trend

Residual Stationarity

R-squared vs. Durbin-Watson

High R² (> 0.7) with very low DW (< 0.5)

High R² with moderate DW statistic

Long-Run Equilibrium

Error Correction Mechanism

Forecast Validity

Degrades rapidly out-of-sample

Stable long-run forecasts via VECM

Granger Causality Existence

Often falsely detected

At least one direction of causality must exist

Economic Interpretability

Nonsensical relationship

Theoretically grounded equilibrium

SPURIOUS REGRESSION

Examples in Quantitative Finance

Concrete scenarios where non-stationary time series produce statistically significant but economically meaningless relationships, and the diagnostic techniques used to detect them.

01

Classic Yule's Nonsense Correlation

The foundational example from Udny Yule (1926) demonstrating that two independent random walks will frequently exhibit high R² values and significant t-statistics when regressed against each other. In modern finance, this manifests when regressing the cumulative price level of Apple (AAPL) against a completely unrelated series like cumulative rainfall in London. Both series contain stochastic trends (unit roots), causing the residuals to be non-stationary and violating the Gauss-Markov theorem. The Durbin-Watson statistic will typically be close to zero, signaling severe autocorrelation and invalid inference.

R² > 0.90
Common in spurious pairs
DW ≈ 0.1
Durbin-Watson warning
02

Equity Index vs. Economic Indicator Trap

A common pitfall: regressing the S&P 500 level on a macroeconomic variable like US GDP or industrial production in levels rather than differences. Both series are I(1) processes that trend upward over decades. The regression will appear to show a strong predictive relationship, but the residuals will be highly persistent. The correct approach is to test for cointegration using the Engle-Granger or Johansen procedure. If no cointegration exists, the model must be specified in first differences (log returns) to achieve stationarity and valid inference.

I(1)
Order of integration
ΔY, ΔX
Correct specification
03

Pairs Trading: When Correlation Is Real

The critical distinction: if two price series are cointegrated, the regression is not spurious but represents a genuine long-run equilibrium. For example, Coca-Cola (KO) and PepsiCo (PEP) share prices may both be I(1), but a linear combination is I(0) — stationary. This forms the basis of statistical arbitrage. A spurious regression is ruled out by testing residuals with the Augmented Dickey-Fuller (ADF) test. If residuals reject the unit root null, the relationship is valid and tradable via mean-reversion strategies.

I(0) residuals
Cointegration evidence
ADF < -3.96
Critical value (1%)
04

High-Frequency Spurious Correlation

At tick-level or 1-minute bars, spurious regression risk intensifies due to microstructure noise and non-synchronous trading. Regressing the mid-quote of two ETFs that track different sectors can produce spuriously high correlation during overlapping trading hours simply because both respond to the same market-wide order flow shock. The Epps effect — the decay of correlation estimates as sampling frequency increases — is a related phenomenon. Mitigation requires synchronized sampling, Hayashi-Yoshida estimators, or aggregating to lower frequencies where the signal-to-noise ratio improves.

< 1 sec
Non-synchronous lag
5-min bars
Minimum safe frequency
05

Monte Carlo Diagnostic Protocol

A rigorous method to distinguish spurious from genuine relationships: simulate 10,000 random walks with the same length as your sample and regress them against each other. The distribution of t-statistics from these null regressions will be centered far from zero — typically with a 5% critical value around 3.0 instead of the standard 1.96. If your observed t-statistic falls within this inflated null distribution, the relationship is likely spurious. This Granger-Newbold (1974) simulation approach remains the gold standard for educating analysts on the severity of the problem.

t > 3.0
Spurious critical value
10,000
Recommended simulations
06

Sentiment Analysis Spurious Regression

A modern manifestation: regressing daily stock returns on Twitter sentiment scores or news volume counts that are themselves non-stationary. If the sentiment index is constructed as a cumulative sum of positive-minus-negative mentions, it becomes an I(1) process. Regressing it on another trending variable like Bitcoin price will produce spurious results. The fix: use daily changes in sentiment (I(0)) or apply a VECM if cointegration is established. Always check the order of integration of alternative data before modeling.

ΔSentiment
Stationary transform
I(1) → I(0)
Required differencing
Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.