entekhab.netentekhab.nettrilingual encyclopedia

Stationarity

ENGLISHStationarityreference
فارسیپایاییRecommended equivalent
کوردیجێگیری ئاماریProposed equivalent — not standard
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

numeric

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.

Given
  • daily step standard deviation sigma = 1%
  • steps independent with zero mean
  • variance of a random walk after t steps = t * sigma^2
Steps
  1. t = 100: variance = 100 * 0.0001 = 0.01, sd = 10%
  2. t = 400: variance = 400 * 0.0001 = 0.04, sd = 20%
  3. 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
random-walk variance grows without bound; the AR(1) variance converges to a fixed value

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.

market

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

E[X_t] = \mu \;\; \forall t, \qquad \mathrm{Var}(X_t) = \sigma^2 < \infty, \qquad \mathrm{Cov}(X_t, X_{t+h}) = \gamma(h)

Variables

\muUnconditional mean, the same at every datesame as X
\sigma^2Unconditional variance; must be finite and constantsquared units of X
\gamma(h)Autocovariance at lag h; a function of h alonesquared units of X
hLag, the number of periods between two observationsperiods

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

Given
  • 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
Steps
  1. random walk: Var(P_t) = t * sigma^2 = t * 0.0001
  2. t = 100 gives sd = 10%; t = 400 gives sd = 20%
  3. AR(1): Var(X) = sigma^2 / (1 - phi^2) = 0.0001 / 0.0975
  4. = 0.001026, sd = 3.20%, independent of t
the random walk has no constant variance; the AR(1) variance is fixed at 3.20%

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.
Limits of the formula
  • 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
Commonly confused with

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.

Commonly confused with

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

Needs expert reviewconsensusv1.02026-11-05

Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.

Weak stationarity as stated is textbook consensus. The Persian headword is given as پایایی with ایستایی listed as a circulating alternative, hence 'recommended' rather than 'established'. The Kurdish headword جێگیری ئاماری is a proposal by this project and needs native-expert review. All figures are illustrative arithmetic on stated assumptions, not market measurements.