ECON 410 · Econometrics II: Causal Methods and Time Series
Stationarity, Unit Roots and Spurious Regression
Why two unrelated trending series can look strongly linked, and how to tell a series that settles down from one that wanders.
Key takeaways
- A stationary series has a steady average and steady ups and downs over time, and it keeps returning to its average.
- A series with a unit root, such as a random walk, never settles; shocks to it stay forever.
- Regressing one wandering series on another can give a high fit and a "significant" result even when they are unrelated. That is spurious regression.
- Taking differences, meaning the change from one period to the next, usually turns a unit-root series into a stationary one.
- Unit-root tests such as the Dickey-Fuller test look for evidence that a series wanders, and they need special critical values.
Here is a fact that sounds like a joke. In many small towns, the number of people with a library card has gone up over the years. So has the number of drones sold in the same towns. Put the two lines on one chart and they climb together like climbers on a rope. A regression of one on the other gives a lovely, high fit.
Does owning a drone make you borrow more books? Of course not. Both numbers simply grow with time. Time is the hidden driver, and a careless regression takes the shared climb for a real link.
This lesson is about that trap and the ideas that help you avoid it. The core question is whether a series (a list of numbers over time) is stationary: does it keep behaving the same way, or does it wander off with no home to return to? Get this wrong, and your results can look brilliant and mean nothing.
What "stationary" means
Think of a thermostat. Your room's temperature bounces around, but it keeps coming back to the number you set. If you recorded it for a month, the average would be about the same in week one and week four, and the size of the wiggles would be about the same too.
That is the idea of stationarity. A series is (weakly) stationary when three things hold over time:
- Its average does not change.
- Its spread, the size of the typical wiggle, does not change.
- The link between today's value and the value from a few periods ago depends only on the gap between them, not on the calendar date.
Many economic series are not like that. Gross domestic product, prices, and the number of people employed all trend upward. Their average in 2026 is far from their average in 1976. They are non-stationary.
Why do we care? Because most of the tools in your earlier regression lessons assume averages and variances that hold still. Feed them a series that drifts, and the usual formulas for standard errors and p-values quietly stop being true.
The random walk: a drunk on a sidewalk
The simplest wandering series is the random walk. Imagine a person who takes one step each second, left or right at random, never aiming anywhere. Where she is now equals where she was a second ago plus a random step:
y(today) = y(yesterday) + shock A shock is a random surprise with an average of zero. Because each step starts from wherever she already is, she has no home to return to. A big stumble left in the first minute is simply carried along. Her uncertainty about where she will be keeps growing the longer you watch.
Now compare this with a series that does have a home. Write the general rule as:
y(today) = ρ × y(yesterday) + shock Here ρ (the Greek letter rho) says how much of yesterday carries into today. If ρ is between −1 and 1, say 0.5, yesterday's value fades. The series is stationary and pulled back toward its average. If ρ equals exactly 1, we get the random walk, and we say the series has a unit root. The name comes from the fact that the number multiplying yesterday is 1, a "root" of the equation that describes the series.
How a shock behaves in each world
Suppose a series sits at 0 and then a shock of 4 hits, with no later shocks. Follow it forward.
With ρ = 0.5, each period keeps half of what it had:
Period 0: 4
Period 1: 0.5 × 4 = 2
Period 2: 0.5 × 2 = 1
Period 3: 0.5 × 1 = 0.5
Period 4: 0.5 × 0.5 = 0.25 The shock dies out, and the series heads home to 0. With ρ = 1, each period keeps all of it, so the value stays at 4 forever. The shock became permanent.
This matters for policy and forecasting. If GDP is stationary around a trend, a recession is a temporary dip and growth snaps back. If GDP has a unit root, a recession leaves a permanent scar: the economy never returns to the old path. Economists have argued over this question for decades, and the evidence from tests is mixed enough that careful researchers show their results both ways.
The spurious regression trap
Now the main danger. Take two random walks that have nothing to do with each other: two drunks on two different sidewalks. Each wanders. By luck, over a stretch of time, both may drift up together or one up while the other falls. Plot one against the other and you often see what looks like a strong relationship.
Here is the famous result, found by Clive Granger and Paul Newbold in the 1970s using computer simulations: regress one independent random walk on another, and the usual t-test calls the link "significant" far more often than the 5% you would expect. The fit (R²) is often high too. Yet there is no connection. This is spurious regression, a regression that seems to find a relationship that is not there.
A tell-tale sign is a high R² together with errors that are strongly related from one period to the next. In plain terms, the leftover mistakes drift in long, lazy waves instead of jumping around randomly. That is a signal that something is wrong.
A worked example: the fix is to take differences
Return to the library cards and drones. Say a town recorded these numbers (made up):
| Year | Library cards (hundreds) | Drones sold |
|---|---|---|
| 1 | 100 | 20 |
| 2 | 104 | 23 |
| 3 | 103 | 25 |
| 4 | 108 | 29 |
| 5 | 112 | 30 |
In levels the two columns both rise, from 100 to 112 and from 20 to 30. Now take the first difference, the change from the previous year:
Library cards: 104−100 = 4; 103−104 = −1; 108−103 = 5; 112−108 = 4
Drones sold: 23−20 = 3; 25−23 = 2; 29−25 = 4; 30−29 = 1 The changes are 4, −1, 5, 4 for cards and 3, 2, 4, 1 for drones. The shared climb is gone. What remains is only the year-to-year movement. If the two series were truly linked, the changes would still move together. In this tiny set they do not clearly do so: cards fell by 1 in year 3 while drones rose by 2.
The lesson is that differencing removes the shared drift, so a real connection must show up in the changes. If the link survives differencing, it is far more believable. If it vanishes, it was just two trends.
Testing for a unit root
How can you tell whether ρ equals 1? You cannot see it directly, so you estimate it. The Dickey-Fuller test, named for David Dickey and Wayne Fuller, uses a rewritten form of the rule. Subtract yesterday's value from both sides:
change in y = (ρ − 1) × y(yesterday) + shock Call (ρ − 1) by the name γ. If γ equals 0, then ρ is 1 and the series has a unit root. If γ is negative, the series is stationary. So the test asks: is γ below zero?
There is a twist. When the unit root is true, the usual t-table gives the wrong cutoffs. Dickey and Fuller worked out the correct, harsher cutoffs, so a statistician uses their table (built into software) rather than the normal one. The Augmented Dickey-Fuller test adds extra lagged changes to soak up leftover patterns. Use the cutoffs your software supplies and read the documentation, because the right version depends on whether you include a trend.
One more caution: these tests have low power. That is, they often fail to reject a unit root even when the series is stationary but with ρ close to 1, such as 0.98. A failure to reject is a weak statement, not a proof that the series wanders.
A common mistake: differencing everything
Having learned the cure, beginners difference every series automatically. That can backfire. If a series is already stationary, differencing it throws away information and adds noise. And if two series both wander but share a stable long-run relationship, differencing destroys that relationship. The next big idea, taken up in cointegration and vector autoregressions, is exactly that two wandering series can be linked in a way that is real. For the building blocks of single-series models, see autoregressive and moving average models.
So the rule is not "difference always." It is "test, think, then decide," and report what you did so readers can check you.
Words to know
Stationary describes a series whose average, spread and pattern of memory stay the same over time.
Non-stationary describes a series that drifts, trends or wanders so that its average or spread changes.
Random walk a series where each value equals the last value plus a random shock.
Unit root the case where yesterday's value carries over fully (ρ = 1), so shocks never fade.
Spurious regression a regression that appears to find a strong relationship between unrelated series, usually because both wander.
First difference the change in a series from one period to the next.
Dickey-Fuller test a test of whether a series has a unit root, using special cutoff values.
Check yourself
- Name the three conditions that a weakly stationary series meets.
- A series follows y(today) = 0.8 × y(yesterday) + shock. A shock of 10 hits with none afterward. What is the effect after two periods?
- Take the first differences of the series 50, 53, 51, 56, 60.
- Explain why two unrelated random walks can produce a high R² in a regression.
- If a series has a unit root, does a recession leave a temporary dip or a permanent shift? Explain briefly.
- Why is it a mistake to difference every series without testing first?
Show the answers
- The average is constant, the spread is constant, and the link between two values depends only on how far apart in time they are.
- Each period keeps 0.8 of the last: 10 × 0.8 = 8, then 8 × 0.8 = 6.4, so the effect after two periods is 6.4.
- 53−50 = 3; 51−53 = −2; 56−51 = 5; 60−56 = 4, so the differences are 3, −2, 5, 4.
- Each wanders with long lazy swings, so over a stretch both can drift in similar directions by chance, and the usual test treats that shared drift as a real link.
- A permanent shift, because with a unit root every shock stays in the series forever and nothing pulls it back to the old path.
- A stationary series loses information when differenced, and two wandering series with a real long-run link lose that link, so you should test first and decide with care.