A time series is stationary when its statistical properties, such as mean, variance and autocorrelation, don't change over time; prices are usually non-stationary, while returns are approximately stationary.

Also known as: stationary series, unit root, ADF test. Level: Advanced.

In short

  • Stationary: constant mean and variance over time.
  • Prices: non-stationary (unit root); returns: roughly stationary.
  • Tested with the Augmented Dickey-Fuller (ADF) test.
  • Most statistical models assume stationary inputs.

How it works

Stock prices drift. Their average over 2010 says little about their average over 2024, and their range widens over time. Such series are non-stationary; technically, prices often behave like they have a unit root, meaning shocks have permanent effects. Returns, the percentage changes, fluctuate around a relatively stable mean and are much closer to stationary, though their volatility changes over time.

Stationarity matters because most statistical tools assume it. Regression, correlation and forecasting models fitted to non-stationary data can produce spurious results: two unrelated trending series can appear strongly related simply because both trend. That's why quant analysis usually works with returns rather than prices, or with combinations of prices that are stationary, such as cointegrated spreads.

The Augmented Dickey-Fuller test is the standard check. Its null hypothesis is that the series has a unit root (is non-stationary). A sufficiently negative test statistic, with a low p-value, rejects the null, suggesting stationarity. The KPSS test reverses the hypotheses and is often used alongside.

Common transformations to achieve stationarity: differencing (using changes instead of levels), taking log returns, detrending, or forming spreads.

For mean-reversion trading, stationarity is essential: if a spread or indicator isn't stationary, there's no fixed mean to revert to, and 'oversold' can become more oversold indefinitely.

Real markets shift between regimes, so even 'stationary' series may change character; tests should be repeated over time.

Comparison of non-stationary prices and roughly stationary returns.
Test with the Augmented Dickey-Fuller test.

An example with numbers

Example: An ADF test on a stock's price can't reject a unit root (non-stationary), but on its daily returns rejects it strongly. The analyst models returns, not prices.

How it differs by market

Market What to know
Global Core concept in time-series econometrics.

Where people go wrong

  • Running regressions on raw price levels.

Common questions

What is stationarity?

Statistical properties that don't change over time.

Are prices stationary?

Usually not; returns are closer to stationary.

How is it tested?

With the Augmented Dickey-Fuller test, among others.

Why does it matter for trading?

Mean reversion needs a stable mean to revert to.