Actuarial Notes

Deterministic and Stochastic Trend

Study guide: Exam MAS-II

A Deterministic Trend is a trend that is a fixed function of time, such as a line, a polynomial or a sine-cosine term, usually with a plausible physical explanation. A Stochastic Trend is a trend that changes direction unpredictably, with no plausible physical explanation, and is modelled as a random process. A linear deterministic trend is

x_t = \alpha_0 + \alpha_1 t + z_t

The simplest stochastic trend is a random walk with drift \delta:

x_t = x_{t-1} + \delta + w_t

Both have a mean that grows linearly in t. They differ in what a shock does. Under a deterministic trend the series returns to the trend line, and under a stochastic trend each shock moves the level for good. High serial correlation with random error is the mark of a stochastic trend.

A trend regression on 60 quarters gives R^2 = 0.94, but its residuals have a lag 1 autocorrelation of 0.93 that decays very slowly. The first differences have a lag 1 autocorrelation of 0.11 and nothing else significant. Which kind of trend is it?

  • A deterministic trend would leave stationary residuals, and these residuals are not stationary.
  • The first differences look like white noise.
  • The trend is stochastic, and the series is a random walk with drift.

Fitting a deterministic trend by regression

A deterministic trend is fitted by regression of the series on functions of time t, and the residuals are then modelled as a stationary series. Its forecast extends the fitted function:

\hat{x}_{t} = \hat{\alpha}_0 + \hat{\alpha}_1 t

A deterministic trend follows a fixed form, so it is better suited to extrapolation than a stochastic trend, whose future path is driven by random shocks. Short-term extrapolation is the easiest to justify, because underlying trends usually change slowly relative to the forecast lead time.

A trend regression gives \hat_t = 140 + 3.2t. What is the forecast for t = 50?

  • The forecast extends the fitted line to t = 50.
  • \hat{x}_{50} = 140 + 3.2(50) = 300.

Autocorrelated residuals in a trend regression

The standard errors of least squares assume uncorrelated errors. When adjacent errors are positively correlated, those standard errors understate the true ones, so a trend can look significant when it is not. Generalized least squares fits the regression with the errors' correlation modelled, for example as an AR(1), and its estimator is

\hat{\boldsymbol{\beta}}_{GLS} = (\mathbf{X}^T\boldsymbol{\Sigma}^{-1}\mathbf{X})^{-1}\mathbf{X}^T\boldsymbol{\Sigma}^{-1}\mathbf{y}

  • \boldsymbol{\Sigma} is the covariance matrix of the errors.

With uncorrelated errors of equal variance, it reduces to least squares.

A trend regression's residuals have a lag 1 autocorrelation of 0.6. What happens to the least squares standard errors, and what is done instead?

  • Positively correlated errors make the least squares standard errors too small.
  • The regression is refitted by generalized least squares with an AR(1) model for the errors.
  • The new residuals are checked to look like white noise.

Differencing a deterministic trend Differencing a series whose trend is deterministic removes the trend but over-differences the stationary part, creating a large negative lag 1 autocorrelation. Regressing a series with a stochastic trend on t leaves residuals that are still not stationary. Check which trend it is before choosing the treatment.

Practice questions

Actuarial Notes