Random Walk
Study guides: Exam SRM, Exam MAS-II, Exam ACIA-CAPSTONE
A Random Walk is a time series \{x_t\} in which each value is the previous value plus a white noise term w_t with variance \sigma^2:
x_t = x_{t-1} + w_t
It is an AR(1) model with coefficient \alpha_1 = 1, which is ARIMA(0, 1, 0). Substituting back for the earlier values writes the series as its starting value plus the sum of the white noise terms:
x_t = x_0 + w_1 + w_2 + \cdots + w_t
With x_0 fixed, the variance is
\text{Var}(x_t) = t\sigma^2
The variance grows with t, so a random walk is not stationary. It wanders, with no mean to return to, and its sample autocorrelations start near 1 and decay very slowly.
A random walk starts at
x_0 = 100, and its white noise has variance\sigma^2 = 4. What are the mean and standard deviation ofx_?
- Each white noise term has mean zero, so
E[x_{25}] = 100.- The variance is
25 \times 4 = 100, so the standard deviation is10.
Differencing a random walk
The first difference of a random walk is
\nabla x_t = x_t - x_{t-1} = w_t
The differenced series is white noise, so it is stationary. A random walk varies more than its differences do, because each value adds up all the earlier white noise terms.
Why is the standard deviation of a random walk's values larger than that of its first differences?
- The first differences are the white noise terms, each with variance
\sigma^2.- The value
x_taddstof those terms, and its variancet\sigma^2grows with time.
Random walk with drift
A random walk with drift \delta adds a constant to each step:
x_t = x_{t-1} + \delta + w_t
Its mean x_0 + t\delta is a linear trend, but the trend is a stochastic trend, because each shock moves the level for good. The h-step forecast starts at the last observation and adds the drift for each step:
\hat{x}_{t+h \mid t} = x_t + h\delta
The forecast error is the sum of h white noise terms, so its standard deviation is \sigma\sqrt{h}. Without drift, the forecast is the last observation for every h.
A quarterly index follows
x_t = x_ + 1.4 + w_twith\sigma = 3, andx_ = 218. What is the forecast ofx_, with a 95% prediction interval?
- The forecast is
218 + 3(1.4) = 222.2.- The forecast error is
w_{41} + w_{42} + w_{43}, with variance3 \times 3^2 = 27and standard deviation5.20.- The interval is
222.2 \pm 1.96(5.20), from212.0to232.4.
An AR(1) near 1 is not a random walk An AR(1) with
\alpha_1 = 0.98wanders like a random walk and has slowly decaying autocorrelations, but it is stationary and returns to its mean in the long run. Only\alpha_1 = 1is a random walk.
Practice questions
- CAS Exam 9 Spring 2017, Question 8
- CAS Exam MAS-I Fall 2019, Question 42
- CAS Exam MAS-I Spring 2019, Question 43
- CAS Exam MAS-I Spring 2019, Question 44
- SOA Exam SRM Sample Question 3
- SOA Exam SRM Sample Question 4
- SOA Exam SRM Sample Question 21
- SOA Exam SRM Sample Question 31
- SOA Exam SRM Sample Question 38
- SOA Exam SRM Sample Question 55