Stationarity: what has to stay fixed over time

The question
Four models, 96 readings each: which could keep the same statistical behavior as time moves on?
Classify the models, then inspect what the records can tell you.
- 1 SeeClassify four time-series models.
- 2 TryPredict, then compare differences.
- 3 ProveBuild the covariance argument.
- 4 ApplyUse the definitions in five problems.
Before you start · 3 quick checks on averages, lags and covariance
Two ideas before you start
2 ideasMove the clock, keep the separation
Two readings remain the same distance apart as their time window moves.
Stationarity concerns the process that generates readings. A single wiggly trace is one outcome of that process.
Exact definition: weak stationarity
A process \((X_t)\), at equally spaced integer times, is weakly stationary when its second moments are finite, its mean is a constant \(\mu\), and its covariance depends only on lag:
\[\begin{aligned}E[X_t]&=\mu,\\ \operatorname{Cov}(X_t,X_{t+h})&=\gamma(h).\end{aligned}\]These statements hold for every pair of available times. In particular, \(\operatorname{Var}(X_t)=\gamma(0)\) is constant. This is also called covariance stationarity. Constant mean and variance alone leave out the requirement on pairs.
A window summarizes observed readings
A short observed record with a selected window and its mean.
A window mean averages one piece of one record. It is not the population mean at a particular time.
Exact definition: window statistics
For a window containing \(w\) observations, let \(\bar x\) be their average and define the descriptive variance \(v_w=w^{-1}\sum(x_i-\bar x)^2\). The band here is \(\bar x\pm\sqrt{v_w}\). It is a spread summary, not a confidence interval. We use divisor \(w\), not the unbiased-estimation divisor.
Fine print: strict stationarity and learning from a record
Strict stationarity requires every finite collection of readings to have the same joint distribution after a common shift of all its times. It preserves more than means and covariances. With finite second moments it implies weak stationarity. Weak stationarity need not imply strict stationarity; a later example separates them.
Neither definition says that each realized path is flat. Neither alone guarantees that averages along one long path converge to population averages. For example, a process that repeats one random draw forever is strictly stationary, but its time average remains that draw. To justify learning a population mean from time averages, additional assumptions such as an appropriate ergodic property are needed.
Classify the mechanism behind each trace
- Read each model and choose weakly stationary or nonstationary.
- Check all classifications to reveal the model reasoning and diagnostics.
- Move the window and compare levels with first differences.
The formulas are the evidence for a definite classification. The traces provide context, but cannot prove a property of an entire process. A trend refers to the population mean, not simply to a run of increasing observations.
Inspect a record after classifying
Unit-root diagnostic: one narrow question
The name comes from the AR(1) model \(X_t=c+\phi X_{t-1}+\varepsilon_t\) with independent, identically distributed disturbances of mean zero and finite positive variance. A random walk is the case \(\phi=1\), called a unit root. When \(|\phi|\lt1\) and the process starts from its stationary distribution, the AR(1) model is weakly stationary. Subtracting \(X_{t-1}\) from both sides gives the regression below, with \(\beta=\phi-1\).
This diagnostic uses the original levels. It fits a change against the preceding level with an intercept and no trend or extra lags. The null is a random walk with independent normal increments of constant positive variance and zero drift. The displayed lower-tail rank compares its statistic with simulated records of the same length under that null.
A small rank is evidence against this particular null model. It does not prove stationarity: a changing variance, trend, serially dependent disturbances, or a break can invalidate the calibration or require another model. A large rank does not establish a unit root either. This is a finite simulation illustration, not a general stationarity test.
A record that cannot reveal the later change
Rolling means and spread bands can expose a visible change. Stable-looking windows cannot exclude a change outside the observed period, or establish that pairwise dependence stays fixed. Test results and plots address different questions from a definition applied to a specified model.
What does subtraction leave behind?
First differencing means \(D_t=X_t-X_{t-1}\). Even when the original readings are independent, consecutive differences reuse a reading. Before inspecting that shared term, predict the sign of their covariance.
Use the shared disturbance to meet two goals
- Set the disturbance variance and select a lag.
- Match the requested covariance, then advance to a fresh setting.
Here \(X_t=a+bt+\varepsilon_t\), where the disturbances are independent and identically distributed, have mean zero and variance \(q\gt0\). The difference process has mean \(b\). The bars show its population covariances, not estimates from a simulated path.
Why differencing is not an automatic repair
For a random walk, subtraction removes the accumulated past and leaves its independent increments. For a deterministic linear trend plus independent noise, it removes the changing mean but leaves dependent noise. Subtracting the known linear trend would instead recover the original independent disturbances. Those are different transformations with different interpretations.
For a deterministic change in disturbance scale, differencing still combines time-varying variances. It need not make the process stationary. Differencing an already stationary series can also create a dependence pattern that was absent before. Decide which feature is changing before choosing a transformation.
A trend disappears, but dependence remains
Let \(X_t=a+bt+\varepsilon_t\) for every integer \(t\), where \(a\) is real, \(b\ne0\), and the disturbances are independent and identically distributed with mean zero and finite variance \(q\gt0\). Then \(X_t\) is not weakly stationary because its mean changes. Its differences \(D_t=X_t-X_{t-1}\) are strictly and weakly stationary, with
\[\begin{aligned}E[D_t]&=b,\\ \gamma_D(0)&=2q,\\ \gamma_D(1)&=-q,\\ \gamma_D(h)&=0\quad (|h|\ge2).\end{aligned}\]Covariance symmetry supplies the negative lags. Strict stationarity follows because a common shift replaces each finite block of identically distributed independent disturbances by a block with the same joint law.
Build the moment calculation below. The assumptions on the slope and the variance rule out degenerate cases in the answer choices. Independence is used only to remove covariance between distinct disturbances; no normal distribution is required.
Weak stationarity without strict stationarity
Independence makes every covariance at distinct times vanish. The means and variances agree, so the process is weakly stationary. But the probability of a zero reading depends on the parity of time, so even the one-time distribution changes. It is not strictly stationary. Jointly Gaussian processes are a special case: their means and covariances determine all finite-dimensional distributions, so weak stationarity does imply strict stationarity for them.
Check the claim before using the formula
Each problem states its own model. Give a decimal within the displayed absolute error. Hints separate the population quantity from any sample summary; the worked solution explains what the number says about stationarity.
The ACF lesson develops sample and population lag summaries. Brownian motion provides a continuous-time example with stationary increments and nonstationary levels. In a homogeneous Markov chain, starting in a stationary distribution makes the process strictly stationary. Fixed transition probabilities alone do not guarantee that: the initial distribution matters.
Further reading
- P. J. Brockwell and R. A. Davis, Introduction to Time Series and Forecasting, chapter 1, on stationary models and differencing.
- J. D. Hamilton, Time Series Analysis, chapter 17, on processes with unit roots.