skip to content

What does it mean for a time series to be weakly stationary?

level: juniorimportance: must knowfreq 82%

answer

  1. three moments held still
  2. one path, one set of estimates
  3. level and spread do not drift
  4. covariance keyed to gap, not date
  5. the strict version constrains everything

basics

~20 s

Weak stationarity means the mean is constant over time, the variance is constant and finite, and the covariance between two observations depends only on the gap between them, not on where in the series they sit.

solid answer

~40 s

A series is weakly stationary — also called covariance stationary — when three things hold for every time point `t`: the mean `E[X_t]` is the same constant `mu`; the variance `Var(X_t)` is the same finite `sigma^2`; and the covariance `Cov(X_t, X_{t+k})` depends only on the lag `k`, never on `t`. It constrains the first two moments only, not the whole distribution, and it does not require independence — a stationary series can be strongly autocorrelated as long as that pattern is the same everywhere. It matters because you observe only one path through time, so estimating a single mean, variance and set of autocorrelations from it is legitimate only if those quantities are the same in every stretch. Daily stock closing prices are not weakly stationary; their log returns roughly are.

go deeper

for a junior

Be ready to state the three conditions cleanly — constant mean, constant finite variance, covariance depending only on the lag — and to name one series that fails each of them.

for a middle

Expect to explain why estimation needs stationarity at all: one observed path has to stand in for the whole process, which only works if its description is time-invariant. Know how weak differs from strict.

for a senior

Show that you check stationarity before modelling rather than after a bad forecast, and that you can say which specific condition a real series violates and what the fix implies for the model you then fit.

for a principal

Own the framing question of what the stationary object even is for a given business series — the level, the growth rate, or the transformed value — because that choice determines every model and every forecast interval the team later ships.

## Why the concept exists You get exactly one realisation of a time series: one path, one history, one ordering. Yet you want to estimate a mean, a variance and a set of lag correlations from it. That is only defensible if those quantities are constant along the path, so that the first third of the data and the last third are informative about the same underlying numbers. Stationarity is the formal version of "the rules generating this series are not changing". ## The three conditions A series `X_1, X_2, ..., X_T` is **weakly stationary** (equivalently covariance stationary, or second-order stationary) when: 1. **Constant mean.** `E[X_t] = mu` for every `t`. The level does not drift upward, downward, or around a repeating pattern. 2. **Constant, finite variance.** `Var(X_t) = sigma^2 < infinity` for every `t`. The spread around the level is the same at the start and at the end. 3. **Lag-only autocovariance.** `Cov(X_t, X_{t+k}) = gamma(k)` for every `t`. How strongly two points move together depends on the distance `k` between them, not on the calendar date. Setting `k = 0` in condition 3 reproduces condition 2, which is why some textbooks state only two conditions. The substance is the same. ## What weak stationarity does *not* require - **Not independence.** Stationary does not mean the observations are unrelated. An autoregressive series where each value is 0.7 times the previous one plus noise is stationary and heavily autocorrelated at the same time. - **Not a flat line.** A stationary series moves, sometimes a lot. What holds still is the *statistical description* of the movement, not the values. - **Not normality.** Weak stationarity constrains only the first two moments; the shape of the distribution is unconstrained as long as the variance is finite. - **Not the absence of long excursions.** A persistent stationary process can wander away from its mean for a long time and still be stationary, which is exactly why eyeballing a plot is not conclusive. ## Weak versus strict stationarity **Strict stationarity** is the stronger property: the entire joint distribution of `(X_t, X_{t+1}, ..., X_{t+k})` is unchanged when you shift the whole block in time. It constrains every moment and every dependence structure, not just the first two. The relationships are worth memorising. Strict stationarity plus finite second moments implies weak stationarity. Weak stationarity does **not** imply strict stationarity in general — the third and fourth moments are free to move. The one clean exception is a Gaussian process: a normal distribution is fully described by its mean and covariance, so a weakly stationary Gaussian series is also strictly stationary. Almost all applied time-series work uses the weak version, because it is what estimation actually needs. ## Recognising a violation Each condition fails in a recognisable way. A series whose level climbs year over year violates the constant mean. A series whose swings are small in early years and large in later years violates the constant variance. A series whose pattern repeats on a fixed annual cycle also violates the constant mean, because the expected value in one month differs systematically from another. And a series that accumulates its shocks — where today's value is yesterday's value plus fresh noise — violates conditions 2 and 3 together, because the variance keeps growing and the covariance between two points depends on how far along the path they are. ## The canonical illustration Take daily closing prices of a stock. The level in one year has no reason to equal the level five years earlier, the spread of prices widens as the price level rises, and the price today is essentially the accumulation of every past move. It is not weakly stationary in any useful sense. Now take the daily **log returns**, `log(P_t) - log(P_{t-1})`. Those hover around a near-zero mean with roughly the same unconditional spread throughout, and their correlation structure is close to lag-only. That is the object you can actually model. The usual caveat is that returns show volatility clustering — calm stretches and turbulent stretches — so the *conditional* variance moves even when the unconditional variance is treated as constant. ## Why interviewers ask Every classical forecasting model estimates one fixed parameter set from the entire history. If the mean, variance or dependence structure changes along the way, those parameters describe no actual period of the data, and the forecast intervals they produce are not trustworthy. Recognising non-stationarity is therefore the first step in any time-series workflow, before a single model is fitted.

  • How does weak stationarity differ from strict stationarity?
    Weak stationarity constrains only the first two moments: constant mean, constant finite variance, and autocovariance that depends on the lag alone. Strict stationarity requires the whole joint distribution of any block of observations to be unchanged by a time shift, which constrains every moment. Strict plus finite second moments implies weak; weak does not imply strict, except for Gaussian processes, where the mean and covariance determine the distribution completely.
  • Can a stationary series be autocorrelated?
    Yes, and most interesting ones are. Stationarity requires the correlation between two points to depend only on the gap between them, not that the correlation be zero. A series where each value is a fraction of the previous value plus fresh noise is stationary whenever that fraction is below one in absolute value, and it is strongly autocorrelated at short lags. Independence is a much stronger condition than stationarity.
  • Why do classical forecasting models assume stationarity?
    They estimate a single fixed set of parameters from the entire history and then project that fixed structure forward. If the mean level, the spread, or the dependence pattern changes over the sample, the fitted parameters are an average of regimes that never occurred, and the forecast intervals are miscalibrated. Stationarity is what makes the past a valid sample of the future.

Think of a thermostat-controlled room. The temperature fluctuates constantly, but the target and the size of the fluctuations are the same in the morning and at night. That is stationarity: motion with an unchanging description.

saying these in an interview costs you the question

  • Says a stationary series is flat or constant
  • Confuses stationarity with independence of observations
  • Claims a fixed repeating annual pattern is compatible with stationarity
  • States the covariance may depend on the time index as well as the lag
  • Thinks stationarity requires normally distributed values

context