A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Unit Roots and Testing for Stationarity

College Depth 114 in the knowledge graph ☐ I know this ☆ Set as goal
5topics build on this
864prerequisites beneath it
See this on the map →
Characteristic Equation Method for Linear ODEsTime Series Data: Structure and Concepts+2 more→→Autoregressive (AR) Models and Order Selection
time-series unit-roots stationarity

Core Idea

A time series is stationary if its mean, variance, and autocovariances are time-invariant. A unit root (coefficient on lagged dependent variable equal to 1) induces nonstationarity and persistence. Tests like the Augmented Dickey-Fuller (ADF) and KPSS test detect unit roots; differencing restores stationarity for I(1) series.

How It's Best Learned

Simulate AR(1) processes with different coefficients (e.g., 0.9 vs 1.0) and observe how unit roots produce very different time path behavior.

Common Misconceptions

A nearly unit root process (e.g., φ = 0.99) is not the same as a unit root process; small differences have large implications for statistical properties.

Explainer

Think back to what makes a time series useful for standard inference: you need the statistical properties of the series to be stable over time. If the mean, variance, and autocorrelations all stay the same regardless of when you sample, the series is stationary, and the familiar tools of regression and hypothesis testing apply. If those properties drift — the mean trends upward, the variance grows, or the autocovariances depend on where you are in time — the series is nonstationary, and standard inference breaks down in subtle and serious ways.

The most important source of nonstationarity in economic data is the unit root. Consider the simplest case: an AR(1) process yₜ = φyₜ₋₁ + εₜ. If |φ| < 1, the effect of a shock to y dies away over time — the series reverts toward its mean and is stationary. If φ = 1 exactly, shocks never die away; every εₜ is permanently incorporated into the level of the series. This is a random walk: yₜ = yₜ₋₁ + εₜ, the most common unit root process. GDP, stock prices, and interest rates often behave this way — a shock today shifts the entire future path of the series, not just the next few periods. The crucial distinction between φ = 0.99 and φ = 1.0 seems numerically small but is statistically enormous: the first eventually reverts, the second never does.

Running a regression between two unrelated random walk series produces the spurious regression problem: you'll find high R² and significant t-statistics even though there is no true relationship. This is why testing for unit roots before modeling is essential. The Augmented Dickey-Fuller (ADF) test is the standard tool. It tests the null hypothesis that a unit root is present (φ = 1) against the alternative of stationarity (|φ| < 1). A key quirk: the test statistic does not follow a standard t-distribution under the null, so you must use Dickey-Fuller critical values, which are more negative than standard thresholds. Failing to reject the null means the series likely has a unit root.

The KPSS test takes the opposite approach: it tests the null of stationarity against the alternative of a unit root. Using ADF and KPSS together is good practice — if ADF fails to reject and KPSS rejects, both tests point to a unit root. When a series has a unit root, the standard remedy is differencing: taking first differences Δyₜ = yₜ - yₜ₋₁ removes one unit root. If a series requires one difference to become stationary, it is called integrated of order 1, or I(1); requiring two differences gives I(2), and so on. Once differenced to stationarity, you can apply AR models and standard regression — which is exactly where the next topic, AR models, begins.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Independence of Events → Sampling Distributions → Standard Error of Estimators → Hypothesis Testing: Framework and Logic → P-values and Statistical Significance → Effect Size and Practical Significance → Hypothesis Testing: Framework and Logic → Z-Tests and T-Tests for Means → One-Sample Z-Test for Means → One-Sample and Two-Sample T-Tests → Inference in Linear Regression → Prediction Intervals in Regression → Linear Regression Basics → Residuals and Goodness of Fit (R²) → Simple (Bivariate) OLS Regression → Classical OLS Assumptions (Gauss-Markov) → Multiple Regression → Interpreting Regression Coefficients → Hypothesis Testing in Regression → F-Test and Joint Significance → Chow Test and Detection of Structural Breaks → Unit Roots and Testing for Stationarity

Longest path: 115 steps · 864 total prerequisite topics

Prerequisites (4)

Leads To (1)