Stationarity
- Category
- Quantitative Finance
- Level
- Expert
Simple definition
A series is stationary when its statistical behaviour does not drift: the same average, the same spread, and the same relationship between neighbouring points at every point in time.
Professional definition
Weak stationarity requires a constant mean, a constant and finite variance, and an autocovariance that depends only on the lag between two observations and not on where in the series they sit. Prices are typically non-stationary; returns are modelled because they are much closer to it.
Technical definition
A process is weakly, or covariance, stationary if E[X_t] equals a constant mu for all t, Var(X_t) equals a finite constant, and Cov(X_t, X_t+h) is a function gamma(h) of the lag alone. Strict stationarity additionally requires the whole joint distribution to be shift-invariant. A random walk satisfies none of these: its variance grows linearly in time, so no fixed mean or variance exists to estimate.
Academic definition
The property of a stochastic process whose unconditional moments are invariant to time translation; in the weak form, a constant mean, a finite constant variance, and an autocovariance function of the lag alone.
Mechanism
Almost every standard estimator — a mean, a variance, a correlation, a regression coefficient — assumes one fixed population behind the sample. A non-stationary series has no such population: each window is drawn from a different one. Sample statistics then measure the window rather than the process, and significance tests built on them report confidence that does not exist.
In practice
- Who uses it
- Quantitative researchers building features from price data, pairs traders testing a spread, and anyone running a regression or a correlation on a market series.
- Why it matters
- Testing for it decides whether a measured relationship can be trusted at all, and whether the series must be differenced into returns first.
- Limitations
- Return series are only approximately stationary: volatility clusters, so the variance is not constant and the regime can shift without warning.
Common mistakes
- Correlating two price series instead of their returns.
- Reading a high R-squared between trending series as a relationship.
- Assuming one stationarity test settles the question for all regimes.
Examples
A random walk with 1% daily steps has standard deviation 10% after 100 days and 20% after 400. The variance is proportional to elapsed time, so no constant variance exists to estimate — the defining failure of stationarity.
- daily step standard deviation sigma = 1%
- steps independent with zero mean
- variance of a random walk after t steps = t * sigma^2
- t = 100: variance = 100 * 0.0001 = 0.01, sd = 10%
- t = 400: variance = 400 * 0.0001 = 0.04, sd = 20%
- for comparison, an AR(1) with phi = 0.95 has unconditional variance sigma^2 / (1 - 0.95^2) = 10.26 * sigma^2, a finite constant
The contrast is the whole point: the AR(1) is stationary because 1 - phi^2 is positive. At phi = 1 the denominator vanishes and the process becomes a random walk.
Two unrelated assets both trend upwards over a sample. Regressing one price on the other returns a large coefficient and a high R-squared, purely because both share a trend. Repeat the regression on returns and the relationship disappears.
Mathematical foundation
Variables
| \mu | Unconditional mean, the same at every date | same as X |
| \sigma^2 | Unconditional variance; must be finite and constant | squared units of X |
| \gamma(h) | Autocovariance at lag h; a function of h alone | squared units of X |
| h | Lag, the number of periods between two observations | periods |
Procedure
Check the three conditions on the candidate series. In practice: plot the rolling mean and rolling standard deviation and see whether they drift; then run a unit-root test. If the level series fails, difference it once — for prices that means taking returns — and test again. Model the differenced series, not the level.
Worked example
- random walk P_t = P_t-1 + e_t with sd(e) = 1% and independent steps
- AR(1) X_t = 0.95 * X_t-1 + e_t with the same innovation sd
- random walk: Var(P_t) = t * sigma^2 = t * 0.0001
- t = 100 gives sd = 10%; t = 400 gives sd = 20%
- AR(1): Var(X) = sigma^2 / (1 - phi^2) = 0.0001 / 0.0975
- = 0.001026, sd = 3.20%, independent of t
Interpretation
Satisfying the three conditions means a single mean, spread and dependence structure describe the whole series, so a sample estimate is an estimate of something stable. Failing them means every statistic is local to its window.
Assumptions
- Weak stationarity constrains only the first two moments; it does not require normality and does not imply strict stationarity.
- Finite variance is part of the definition, so a series with infinite variance is non-stationary by construction.
- Unit-root tests have low power in short samples and competing tests take opposite null hypotheses, so a single test result is weak evidence either way.
- Differencing removes a trend but also destroys information about the level, which cointegration methods recover instead.
- Financial return series show volatility clustering, so they violate constant variance even when a unit-root test clears them.
- Stationarity over one sample is not stationarity over the next; a structural break makes the property time-local.
Related terminology
- related
- Cointegration GARCH Autocorrelation Random Walk Mean Reversion Logarithmic Returns Volatility Clustering Hypothesis Testing Stochastic Process Linear Regression
Mean Reversion
Stationarity is a property of the whole process. Mean reversion is the behaviour that follows from it and can be given a speed and a half-life.
Cointegration
Two series can each be non-stationary while a particular linear combination of them is stationary. That combination, not either series, is what a spread strategy trades.
Sources
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
