Hexa Scholar

AR(1): persistence and the φ = 1 boundary

A navy clay bell hangs from a wooden frame beside a small gold mallet, with thin gold rings spreading out around it, each fainter than the one before.
One strike, and each echo is fainter than the last.

The question

Sixty readings of Xₜ = φXₜ₋₁ + εₜ, one hidden φ: can you find it from the path, and what changes at φ = 1?

Match three paths, then push φ to the boundary.

  1. 1 SeeFind the hidden φ behind three paths.
  2. 2 TryPredict what happens at φ = 1.
  3. 3 ProveBuild the variance formula, line by line.
  4. 4 ApplyHalf-lives, log prices and explosive growth.
Before you start · 3 quick checks on variance rules and the AR(1) ACF, about 3 min

Two ideas before you start

2 ideas

Each reading keeps a share φ of the one before

Figure: twelve shocks as thin bars and the readings built from them as a dashed line. It needs JavaScript.

φ:

Xₜ = 0.5 Xₜ₋₁ + εₜ

The thin bars are shocks: new, unpredictable pieces of noise. Each reading, on the dashed line, is φ times the reading before plus the newest shock. With φ = 0 the readings are the shocks themselves.

Exact definition

White noise. A sequence \((\varepsilon_t)_{t \ge 1}\) is white noise with variance \(\sigma^2 \gt 0\) if \(\operatorname{E}[\varepsilon_t] = 0\), \(\operatorname{Var}(\varepsilon_t) = \sigma^2\) and \(\operatorname{Cov}(\varepsilon_s, \varepsilon_t) = 0\) for \(s \ne t\). The shocks need not be independent or normal.

AR(1) model from a fixed start. For a real coefficient \(\varphi\) and a fixed real number \(x_0\), set \(X_0 = x_0\) and

\[X_t = \varphi X_{t-1} + \varepsilon_t \quad (t \ge 1).\]

It is the autoregressive model of order 1: each reading is regressed on the one before. The card's figure uses \(x_0 = 0\) and fixed whole-number shocks \(\varepsilon_1, \dots, \varepsilon_{12}\), so that the arithmetic is easy to follow.

A single shock fades by the factor φ each step

Figure: one shock of size 1 at time 1 and no others, and the readings that follow it as bars. It needs JavaScript.

φ:

After h steps: 0.8ʰ half-life ≈ 3.11 steps

Start at 0, add one shock of size 1 at time 1, and no other shock. Each step multiplies the reading by φ, so h steps later it is φʰ. At φ = 1 nothing fades.

Exact definition

Effect of one shock. With \(x_0 = 0\), \(\varepsilon_1 = 1\) and every other shock 0, the rule gives \(X_1 = 1\) and \(X_{1+h} = \varphi^h\) for \(h \ge 0\). The bars of the figure are these readings for \(h = 0, \dots, 11\).

Half-life. For \(0 \lt \lvert\varphi\rvert \lt 1\), the half-life of a shock is the number of steps \(h\) with \(\lvert\varphi\rvert^h = \tfrac{1}{2}\):

\[h_{1/2} = \frac{\ln(1/2)}{\ln\lvert\varphi\rvert}.\]

It need not be a whole number. For \(\lvert\varphi\rvert \ge 1\) the size \(\lvert\varphi\rvert^h\) never falls below 1, so there is no half-life.

Fine print: the start, the shocks and the mean

Every model on this page starts from a fixed number \(x_0\), not from a random draw. A random start with the right mean and variance can make the AR(1) stationary from the first step; 3 Prove says when.

Every exact statement about means, variances and covariances uses only the white-noise assumptions: mean 0, constant variance \(\sigma^2\) and no correlation between different times. The simulated paths use the stronger assumption of independent standard normal shocks, so \(\sigma = 1\) there. A model with a nonzero long-run mean \(\mu\) is written \(X_t - \mu = \varphi(X_{t-1} - \mu) + \varepsilon_t\); every result on this page then holds for \(X_t - \mu\).

1 See

Find the hidden φ

How the paths are made, and how to read them

Round \(m\) uses 60 independent standard normal shocks from seed \(m\) of the page's random generator. The seeds are simply 1, 2 and 3; none was picked to make a round easier or harder. Your dashed path uses the same shocks and the same start \(X_0 = 0\), so it lies exactly on the solid path only when your \(\varphi\) equals the hidden one.

Reading a path by eye: with \(\varphi\) near 1, a path stays on one side of 0 for long stretches; with \(\varphi\) near 0, it looks like the shocks themselves; with \(\varphi \lt 0\), it tends to jump from one side of 0 to the other at each step.

2 Try

At φ = 1 and past it

A prediction first. The explorer below it opens once you check your answer.

Just past the boundary

The slider above stops at \(\lvert\varphi\rvert = 1\). Predict first; the paths past the boundary open when you check.

3 Prove

The variance of Xₜ from a fixed start

Theorem

Assumptions. \((\varepsilon_t)_{t \ge 1}\) is white noise: \(\operatorname{E}[\varepsilon_t] = 0\), \(\operatorname{Var}(\varepsilon_t) = \sigma^2 \gt 0\), and \(\operatorname{Cov}(\varepsilon_s, \varepsilon_t) = 0\) for \(s \ne t\). The coefficient \(\varphi\) is real with \(\varphi \ne 0\) (with \(\varphi = 0\) the readings are the shocks and there is nothing to prove). The start \(x_0\) is a fixed real number, \(X_0 = x_0\), and

\[X_t = \varphi X_{t-1} + \varepsilon_t \quad (t \ge 1).\]

Conclusion. For every \(t \ge 1\), \(\operatorname{E}[X_t] = \varphi^t x_0\) and

\[\begin{aligned} \operatorname{Var}(X_t) &= \sigma^2\sum_{j=0}^{t-1} \varphi^{2j} \\ &= \frac{\sigma^2(1 - \varphi^{2t})}{1 - \varphi^2} \quad (\lvert\varphi\rvert \ne 1), \\ \operatorname{Var}(X_t) &= t\sigma^2 \quad (\lvert\varphi\rvert = 1). \end{aligned}\]

So for \(\lvert\varphi\rvert \lt 1\) the variance stays below \(\sigma^2/(1 - \varphi^2)\) and tends to it as \(t \to \infty\); for \(\lvert\varphi\rvert \ge 1\) it is at least \(t\sigma^2\) and grows without bound.

Facts the proof uses.

  1. Expectation is linear, and a constant has variance 0: \(\operatorname{Var}(c + Y) = \operatorname{Var}(Y)\).
  2. The variance of a sum of uncorrelated terms is the sum of their variances, and \(\operatorname{Var}(aY) = a^2\operatorname{Var}(Y)\).
  3. A geometric sum with ratio \(r \ne 1\) and \(n\) terms: \[\begin{aligned} &1 + r + \dots + r^{n-1} \\ &= \frac{1 - r^n}{1 - r}. \end{aligned}\]

Each option is one step of the proof. Pick the one that is true for every \(\varphi \ne 0\) in the range the line names, every start \(x_0\) and every \(\sigma \gt 0\).

What else follows
4 Apply

Problems

The theorem of 3 Prove and the effect \(\varphi^h\) of one shock give every model value you need. Each problem states its own model and assumptions.

Key point The coefficient \(\varphi\) sets how long shocks last: the half-life \(\ln(1/2)/\ln\lvert\varphi\rvert\) for \(0 \lt \lvert\varphi\rvert \lt 1\), forever at \(\lvert\varphi\rvert = 1\). The change of a random-walk log price over \(t\) days has standard deviation \(\sigma\sqrt{t}\); a coefficient slightly above 1 gives a larger one, and the gap widens geometrically with \(t\).
Level Intermediate Prerequisites stationarity, autocorrelation and the simple random walk; the variance rules and the AR(1) ACF are refreshed in Before you start Time ~35 min

Further reading