Quantitative & Statistical ReasoningBrown BeltAdvanced · Institutional thinking

Time series pitfalls

Market data is autocorrelated, regime-shifting, and non-stationary — standard statistics assumes an independence the data does not have.

Guided practice opens in the app — no account needed to try.

Why it matters

Most of statistics assumes each observation is a fresh, independent draw. Market data violates that assumption before breakfast — today leans on yesterday, regimes rewrite the rules mid-sample, and trends fake relationships with anything else that trends.

How it works

Three pitfalls dominate. First, autocorrelation and overlap: consecutive returns are not independent, and overlapping windows are far worse — 120 rolling twelve-month returns computed monthly contain only about ten truly independent years, yet naive math treats them as 120 observations. Second, non-stationarity: the process generating the data changes — volatility regimes shift, correlations jump, policy environments turn — so a relationship estimated over a full period may have really existed only during part of it. Third, spurious regression: any two trending series correlate strongly regardless of connection, because the shared trend does all the work. The defenses are mechanical: model changes rather than levels, split samples by regime, and count independent observations rather than rows in the spreadsheet.

Common misconception

The belief

“Two trending series that track each other closely are genuinely related.”

What’s actually true

Trend plus trend equals high correlation by arithmetic alone — a stock index and a country's cheese consumption can correlate at 0.95. Measure the relationship on changes, not levels; if it evaporates, it was never there.

Worked example

Illustrative example — tickers and prices are used for teaching only; not a recommendation or a current quote.

A strategy backtests profitably over ten years — but a regime split shows nearly all the gains came from one three-year stretch of falling interest rates, with flat-to-losing results elsewhere. The ten-year average implied ten years of evidence; the regime view reveals roughly one observation: 'this works when rates fall.' Likewise, a discovered 0.95 correlation between two trending series collapses toward zero once both are differenced. Same data, opposite conclusions — the difference is respecting the time-series structure.

Interactive lab, in words

An eight-year backtest split by regime: flat near 100 for the first two years, a climb to about 146 inside the shaded two-year strong-trend regime, then a slow slide to 140 over the last four years. Outside the shaded stretch the strategy earned nothing and gave some back.

Eight years of backtest, one regime of evidence: split by regime before trusting the average.
Try the lab in DowJo

Go deeper

Two strangers, one trend

The spurious-regression pitfall, drawn: a stock index beside a country's cheese consumption, both indexed to 100 a decade ago. The correlation of the two lines is about 0.95 — and it means nothing, because the shared upward trend does all the work. Measure the relationship on changes instead of levels and it collapses to roughly zero.

The visual, in words

Two lines rising together for a decade, rebased to 100: a stock index climbing with visible wiggles to about 211, and cheese consumption gliding smoothly to about 193. Level correlation about 0.95; correlation of their changes roughly zero.

Trend plus trend equals correlation 0.95, by arithmetic alone. On changes, the relationship vanishes.

Counting the real observations

The overlap pitfall in one picture: compute 12-month returns every month for a decade and the spreadsheet holds 120 rows — but neighboring rows share eleven of their twelve months. The honest count of independent observations is about ten, and statistics run on 120 will be far too confident.

The visual, in words

Two bars: 120 rolling twelve-month returns in the spreadsheet versus about 10 truly independent years of evidence behind them.

Rows are not observations — overlapping windows recount the same months eleven times over.

What these shapes do and don't prove

A regime split proves where the profits lived; it does NOT prove the strategy is worthless — it prices the backtest honestly, as one bet on the regime that paid — falling rates in the worked example, a strong trend in the chart above — coming back. And two series parting ways on changes does not prove they never relate; it proves the levels never showed it. The discipline is mechanical: difference the data, split by regime, count independent observations — then believe what survives.

Where this fits

Practise it in DowJo

Reading is step one. In the app you walk through this concept step by step, then prove it on an understanding check — with practice capital, never real money. Try it as a guest; create an account to keep your progress.

New to investing? Start the free course

Education only. DowJo is not a broker or an adviser, and never gives buy, sell or hold calls or price targets. Examples are illustrative.