Classical Time Series — Course Guide

Preparation — Stationarity in 30 Minutes

A compact diagnostic primer on stable dependence, trends, unit roots, seasonality, and breaks.

Preparation — Stationarity in 30 Minutes

The idea in one sentence

A series is weakly stationary when its mean and variance are constant and the covariance between two observations depends on their lag, not their calendar date.

E(Xt)=μ,Var(Xt)=γ(0),Cov(Xt,Xth)=γ(h).\mathbb E(X_t)=\mu,\qquad \operatorname{Var}(X_t)=\gamma(0),\qquad \operatorname{Cov}(X_t,X_{t-h})=\gamma(h).

Stationary does not mean flat or independent. It means that dependence operates under a stable rule, so different parts of one path can inform the same population quantities.

Three processes, three diagnoses

ProcessWhat a shock doesStationary?
Xt=εtX_t=\varepsilon_tdisappears immediatelyyes, if the noise has stable moments
Xt=0.8Xt1+εtX_t=0.8X_{t-1}+\varepsilon_tdecays as 0.8h0.8^hyes
Xt=Xt1+εtX_t=X_{t-1}+\varepsilon_tremains permanentlyno: variance grows with tt

For the AR(1), repeated substitution gives

Xt=εt+0.8εt1+0.82εt2+.X_t=\varepsilon_t+0.8\varepsilon_{t-1}+0.8^2\varepsilon_{t-2}+\cdots.

If Var(εt)=4\operatorname{Var}(\varepsilon_t)=4, then

Var(Xt)=410.82=11.11.\operatorname{Var}(X_t)=\frac{4}{1-0.8^2}=11.11.

For the random walk, Xt=j=1tεjX_t=\sum_{j=1}^{t}\varepsilon_j, so Var(Xt)=4t\operatorname{Var}(X_t)=4t. The calendar time now changes the distribution.

Do not collapse five different problems into “non-stationary”

PatternSmall exampleFirst response
deterministic trenddemand rises by 2 MWh each yeartrend regressor or detrending
stochastic trend/unit rootshocks permanently shift the levelfirst difference, if justified
deterministic seasonalityevery January is about 10 units highermonth indicators or seasonal terms
seasonal unit rootthis January resembles last January through accumulated shocksseasonal difference
structural breaka heat pump raises demand after installationintervention term, regime model, or shorter window
changing varianceseasonal amplitude grows with levellog/Box–Cox transform or variance model

Different operations answer different diagnoses. Applying log, first difference, and seasonal difference automatically can destroy useful structure.

A useful counterexample: over-differencing

Suppose Xt=εtX_t=\varepsilon_t is already white noise. Differencing gives

ΔXt=εtεt1,\Delta X_t=\varepsilon_t-\varepsilon_{t-1},

an MA(1) process with coefficient 1-1 and lag-1 autocorrelation 1/2-1/2. The transformation has manufactured dependence and made the model non-invertible. “More stationary-looking” is not always better.

Trend-stationary or difference-stationary?

Two upward paths can look alike:

trend-stationary: Xt=α+βt+ut,\text{trend-stationary: }X_t=\alpha+\beta t+u_t,difference-stationary: Xt=Xt1+c+εt.\text{difference-stationary: }X_t=X_{t-1}+c+\varepsilon_t.

After a shock, the first returns toward its deterministic trend; the second carries the shock forward. Detrending is appropriate for the first and differencing for the second. A short sample may not distinguish them cleanly, so report uncertainty rather than declaring a diagnosis from one test.

ADF and KPSS ask opposite questions

TestNull hypothesisA small p-value suggests
ADFa unit root is presentevidence against a unit root
KPSSthe series is level- or trend-stationaryevidence against stationarity

Read them with plots, subject knowledge, and break dates. A break can make a stationary regime look like a unit root; low power can make a genuinely persistent process inconclusive.

Do not write “the ADF proves stationarity.” Write: “At the stated deterministic terms and lag choice, the test rejects/does not reject a unit root; plots, KPSS evidence, and break sensitivity lead us to…”

Four-case interpretation

ADFKPSSReasonable next step
rejectsdoes not rejectstationary modeling is plausible
does not rejectrejectsdifferencing or a unit-root model is plausible
rejectsrejectsinspect breaks, nonlinearity, variance, and test specification
does not rejectdoes not rejectsample may be weakly informative; compare robust alternatives

Thirty-minute diagnostic routine

  1. Name the unit and frequency. A “lag of 12” means nothing without monthly sampling.
  2. Plot levels and mark interventions. A break is not an autocorrelation pattern.
  3. Compare seasonal positions. Ask whether January behaves like January.
  4. Inspect variance against level. Log only when a proportional interpretation is sensible.
  5. Compare detrending and differencing. Explain which shock behavior each assumes.
  6. Use ADF/KPSS as supporting evidence. State deterministic terms and lag choice.
  7. Replot and inspect the transformed series. Watch for strong negative lag-1 correlation from over-differencing.
  8. Validate both choices out of sample. Transformation is part of the model, not a preprocessing fact.

Exit check

For each statement, say true or false and give one sentence:

  1. A stationary series must be independent. False—its lag covariance may be non-zero.
  2. A random walk with zero drift has constant mean, so it is stationary. False—its variance grows.
  3. Seasonal differencing and month indicators express the same assumption. False—one removes a seasonal stochastic trend; the other models stable seasonal means.
  4. Differencing can harm a stationary series. True—it can inject an MA unit root.
  5. Passing one unit-root test settles the model. False—specification, breaks, power, and the forecast task still matter.

Continue to Stochastic Processes and Stationarity for the population language behind these decisions.

Copyright © 2026