TL;DR
A stochastic process is stationary when its statistical character does not change as time goes by. Its mean stays the same, its spread stays the same, and the relation between the value at one moment and the value at another depends only on the gap between those two moments, not on where on the timeline they sit. Stationarity is what lets you learn the behaviour of a process from one long record and expect it to hold tomorrow.
Where you'll see it: in time-series forecasting (ARMA and state-space models assume it), in signal processing for noise and filters, and in the statistical tests that decide whether a financial or economic series can be modelled without first removing a trend.
Intuition
The same weather, any day
Think about the noise on a radio receiver. If you record it on Monday morning or on Friday afternoon, the hiss sounds the same: the same average level, the same loudness, and the same rhythm of crackle. The particular waveform differs, but the rules that generate it do not change over the week. A process with this property is stationary. Its law is fixed even though its values keep moving.
Now compare a bank balance that starts at zero and grows by random deposits. Its average keeps drifting upward, and its spread keeps widening. Yesterday's behaviour does not describe next year's. That process is not stationary, and no amount of past data gives you a fixed target to aim at.
This matters because almost all of statistics for time series works by assuming a fixed target. To estimate a mean from a record, to measure how fast the past fades from the present, or to predict the next value, you need the rules to hold still long enough to be learned. Stationarity is the assumption that makes a single long recording as informative as many independent ones.
Two things that must not move
Stationarity is about two features staying put. The mean of must be the same at every time . The covariance between and must depend only on the gap . Those two conditions, plus finite variance, define the version used in practice.
- random walk, Var(X_t) = t
- AR(1) with φ = 0.5, constant variance
The math
Two definitions
A process is strictly stationary if, for every choice of times and every shift , the joint distribution of equals the joint distribution of .
Strict stationarity says that shifting the whole pattern along the timeline changes nothing about its probabilities. It is a strong condition because it constrains every joint distribution, and it is hard to check from data.
A process is weakly stationary if it has finite second moments and
where is a constant and is a function of the lag only.
Here is the expectation (the long-run average over many realisations), and is the covariance. The function is called the autocovariance at lag : the covariance between two points that are steps apart. Weak stationarity only looks at the first two moments, which is what most estimation methods use. Strict stationarity implies weak stationarity (given finite variance), but not the reverse in general. For a Gaussian process the two coincide, because a Gaussian is completely described by its mean and covariance.
Autocovariance and autocorrelation
Write the variance as , which does not depend on . The autocorrelation is the autocovariance scaled to lie between and :
Two facts follow directly. First, , because covariance is symmetric. Second, , since the correlation between two random variables cannot exceed one in absolute value. Together these mean that a stationary process has one variance and one curve describing how memory decays with lag. That curve is the fingerprint of the process.
Examples of stationary processes
White noise. Take independent random variables with mean 0 and variance . Then and for every . There is no memory at all: knowing the present says nothing about the future.
Autoregressive model of order 1, AR(1). Let
with white noise of variance . Each value is a fraction of the previous one plus a fresh shock. The condition is what keeps the process from exploding. Assuming stationarity, the variance satisfies , so
The autocorrelation decays geometrically. A larger means longer memory.
Why a random walk is not stationary
A random walk with i.i.d. steps of variance has . The variance grows with , so the process fails the first condition. Its differences are white noise, which is stationary. This is the standard way to make a process stationary: difference it until the trend goes away.
Spectral view
A stationary process also has a description in frequency. The spectral density is defined through the autocovariance by
where is an angular frequency and is the imaginary unit. By the Wiener–Khinchin theorem, is the power the process carries at frequency . White noise has a flat spectrum (every frequency equally loud), while a slowly varying AR(1) with close to 1 concentrates its power at low frequencies. Reading a series in frequency is often easier than reading the autocorrelation curve, and both describe the same stationary object.
Worked examples
We have with .
- Stationary variance: .
- Lag-1 autocovariance: .
- Lag-2 autocovariance: .
- Autocorrelations: and , which matches at and .
Interpretation: the variance settles at about 1.33 however long the series runs. Two points one step apart have correlation 0.5, and two points two steps apart have correlation 0.25. The correlation halves with each extra step of lag.
Let be a random walk with steps of variance , so .
- At , . At , .
- The variance is different at the two times, so is not stationary.
- Define . Then is one fresh step, so and at every .
- For , and use different steps, so .
Interpretation: is stationary white noise. Differencing turned a process whose spread keeps growing into one whose spread stays at 1. A sales or price series that trends upward is often modelled this way: fit the model to the differences, then add the trend back when forecasting.
Tradeoffs and failure modes
Stationarity is a modelling choice, and real data often violates it. The table below lists the usual situations.
| Situation | What goes wrong | Better choice |
|---|---|---|
| Series with a visible trend | The mean is not constant, so sample averages are biased for the current level | Remove the trend, or difference the series until it looks stationary |
| Variance grows with the level (prices, counts) | Constant-variance formulas underestimate spread | Transform first (logarithm or square root), then check stationarity |
| Structural break (a policy change, a new sensor) | One fitted law covers two different regimes | Split the record, or use a model with changing parameters |
| Unit root, | The AR(1) formula divides by zero, and the process wanders | Use a random-walk model with differences |
| Short record | Sample autocorrelations are noisy, so the stationarity check itself is unreliable | Gather more data, or avoid heavy time-series claims |
A practical warning: stationarity tests such as the augmented Dickey–Fuller test have their own assumptions and error rates, so a single test result should not settle the question. Plot the series and its autocorrelation first, then test.
History
The modern theory grew out of two lines of work. Autoregressive models were used by George Udny Yule in the 1920s to study sunspot cycles, and the idea of a process whose statistical properties are fixed over time was made precise in the 1930s. Aleksandr Khinchin published a foundational treatment of stationary stochastic processes in 1934, building on work by Norbert Wiener on the relationship between correlation and spectra. Herman Wold later showed that any weakly stationary process can be split into a deterministic part and a sum of uncorrelated shocks, which is why AR and moving-average models are so central. Stationarity caught on because it turned a single noisy record into something statistics could estimate, in engineering, economics and later in machine learning for sequences.
Check yourself
QuestionWhich two conditions define weak (covariance) stationarity?Show answer
The mean must be the same constant at every time, and the covariance must depend only on the lag . Finite second moments are also assumed. Nothing is said about higher moments or the full joint distribution, which is what distinguishes weak from strict stationarity.
QuestionAn AR(1) process has and . What is its stationary variance ?Show answer
Use . The variance is larger than the one in the worked example because the process keeps more of its past, so shocks accumulate more before they fade.
QuestionWhy does a random walk fail to be stationary even though its steps are stationary white noise?Show answer
The position is the running sum of the steps, so its variance is , which grows with time. The steps themselves have constant variance, but the sum does not. Stationarity is a property of the process as a whole, not of its increments.
QuestionA series has , and . What are and , and what does the sequence suggest about the model?Show answer
and . The autocorrelation halves at each lag, which is the geometric decay of an AR(1) with . This is only suggestive: several models share a similar shape, so a real analysis would also check the partial autocorrelation.