Skip to main content
Blog home
Newsletter
News
Video
Podcast
Reading list
Wright Brief
Sign In

What is Stationarity?

A plain-language explanation of Stationarity, with a worked example, common pitfalls and the questions people ask most.

Listen to this article
Audio · ~2 min
Add as a preferred source on Google

A time series is stationary if its statistical properties, such as its mean and variance, do not change over time. Many statistical tools assume stationarity, which is why quants usually model returns and spreads instead of raw prices.

Prices versus returns

Price seriesReturn series
Mean levelWanders, with no fixed averageRoughly constant around a small mean
Typical behaviourTrends and random-walk driftsFluctuates around a stable level
Stationary?Usually notApproximately

Why it matters

If a series drifts, a model fitted to its past average describes a level that no longer applies. Regressing one trending price on another can show a strong relationship that is only a coincidence of both drifting, called spurious regression.

How it is tested

  • Augmented Dickey-Fuller (ADF) test: the null hypothesis is that the series has a unit root (is non-stationary). A small p-value suggests stationarity.
  • KPSS test: the opposite null, that the series is stationary.

Making a series stationary

  • Take differences or percentage returns, instead of prices.
  • Remove a trend or seasonal pattern.
  • Use a combination of two prices that is stationary even though each price is not. This is cointegration, the basis of pairs trading.

Cautions

  • Returns are not perfectly stationary: volatility changes over time. See GARCH models and market regimes.
  • Over-differencing can remove useful information such as long-term level signals.
  • Relationships that hold in one period may not hold in another. See model drift.

Frequently asked questions

What is stationarity?

It means a time series has a constant mean, variance and correlation structure over time.

Why are stock prices not stationary?

Because they wander with no fixed average level, behaving like a random walk with drift.

How do you test for stationarity?

With tests such as the Augmented Dickey-Fuller test, where the null hypothesis is a unit root, or the KPSS test, where the null is stationarity.

How do you make a price series stationary?

Usually by using returns or differences, or by combining prices in a cointegrated spread.

Further reading

  1. Dickey, D. and Fuller, W. (1979). Distribution of the estimators for autoregressive time series with a unit root. Journal of the American Statistical Association 74(366).
  2. Hamilton, J. (1994). Time Series Analysis. Princeton University Press.
Browse the full Quant Glossary →

Disclaimer: Investment in securities market are subject to market risks. Read all the related documents carefully before investing. Registration granted by SEBI, membership of a SEBI recognized supervisory body (if any) and certification from NISM in no way guarantee performance of the intermediary or provide any assurance of returns to investors.

The content in these posts/articles is for informational and educational purposes only and should not be construed as professional financial advice and nor to be construed as an offer to buy/sell or the solicitation of an offer to buy/sell any security or financial products. Users must make their own investment decisions based on their specific investment objective and financial position and using such independent advisors as they believe necessary.

Wryght Research & Capital Pvt (Brand name: Wright Research) is a SEBI Registered Portfolio Manager Reg No: INP000007979 (Validity: Apr 03, 2023 – Perpetual) and a SEBI Registered Research Analyst No: INH000017295 (Validity: Jul 03, 2024 – Perpetual), with its registered office at 103, Shagun Vatika Prag Narayan Road, Lucknow, UP, 226001 India and CIN: U67100UP2019PTC123244. Past performance may or may not be sustained in future. Performance provided there in is not verified by SEBI. Investment in securities is subject to market and other risks, and there is no assurance or guarantee that the objectives of any of the strategies of the Portfolio Management Services will be achieved. Registration granted by SEBI, enlistment as RA with Exchange and certification from National Institute of Securities Markets (NISM) in no way guarantee performance of the intermediary or provide any assurance of returns to investors. Please read the Disclosure document carefully before investing. Securities quoted are for illustration only and are not recommendatory. Charts shown are for illustration only. For more information and disclosures, visit our disclosures page here.

Found this useful? Share it.
Wright PMS · Portfolio Management Service

Put this research to work

The same 300+ factor research engine behind this article — applied to a professionally managed portfolio, end to end.

300+
Factors tracked
2L+
Investors
₹1,200+ Cr
Invested
SEBI
Registered PMS