Hexa Scholar

GARCH(1,1): volatility clustering

A gold sphere hangs above a cream rippled surface inside a deep navy basin.
A sphere above ripples in a basin: a metaphor for a disturbance and its aftermath.

The question

Tune the mechanism, compare the records, then examine a forecast.

  1. 1 SeeTune a volatility model to a target.
  2. 2 TryPredict a forecast, then test persistence.
  3. 3 ProveDerive the long-run variance.
  4. 4 ApplyCalculate updates and interpret units.
Before you start · 3 quick checks on variance, lags, and conditioning

Two ideas before you start

2 ideas

A shock has a sign and a size

A parabola maps a return shock to its square.

Squaring measures size without preserving direction. A large negative return can matter for variance just as a large positive return does.

Exact definition

At equally spaced trading observations, write return \(r_t=\mu+\varepsilon_t\). The constant \(\mu\) is the model's conditional mean; \(\varepsilon_t\) is the surprise, or residual. We model returns in percentage points. Squared residuals and variances therefore have squared percentage-point units. Volatility is a standard deviation, not a variance.

The teaching simulations set \(\mu=0\), so residuals equal returns. For data with a nonzero or changing conditional mean, first specify and fit that mean; squaring raw returns can otherwise mix mean behavior with changing spread.

The spread is known before the draw

A conditional normal density changes width when its variance changes.

The solid density is centered at zero. Change its variance; the next shock is still an unknown draw.

Exact definition

Let \(\mathcal F_{t-1}\) contain the information available before observation \(t\). Assume \(z_t\) is independent of that past, identically distributed over time, with mean zero and variance one. Set

\[\varepsilon_t=\sqrt{h_t}\,z_t,\]

where \(h_t\gt0\) is determined by the past. Then the conditional mean of the shock is zero and its conditional variance is \(h_t\). The density card additionally assumes standard normal \(z_t\); normality is not required for these two conditional moments.

Refresher: conditional expectation and the GARCH rule

Conditional expectation averages only the uncertainty that remains after the stated information is known. A past-measurable factor can leave the conditional average. Averaging that conditional average again gives the unconditional expectation; this is the tower property. These rules are enough for the proof below.

GARCH means generalized autoregressive conditional heteroskedasticity. Here the last word means that the conditional spread can change. The order (1,1) uses one previous squared shock and one previous conditional variance:

\[\begin{aligned}h_t&=\omega+\alpha\varepsilon_{t-1}^2\\ &\quad+\beta h_{t-1}.\end{aligned}\]

Assume constant \(\omega\gt0\), \(\alpha,\beta\ge0\), and a positive initial variance. The recursion stays positive. The coefficients are dimensionless except for \(\omega\), which has variance units. This is a statistical return model; it does not assume or derive an asset pricing rule.

For background, stationarity distinguishes constant population moments from a flat realized record. Autocorrelation explains the lag summaries used next.

1 See

Match the pattern of squared returns

Solid: target returns. Dashed: candidate returns after an adjustment or check. Both show the last part of the simulated record. The horizontal axis counts retained observations; the vertical axis measures percentage points.

Solid: target sample ACF of squared returns. Dashed: candidate ACF, appearing after an adjustment or check. All retained observations enter each ACF.

Exactly what the score measures

For squared returns \(x_t=\varepsilon_t^2\), subtract their full-record average to obtain \(d_t\). At lag \(k\), use the same full-record denominator for every lag:

\[\widehat\rho_k=\frac{\sum_{t=k+1}^n d_t d_{t-k}}{\sum_{t=1}^n d_t^2}.\]

The score is the square root of the mean squared difference between the two ACF vectors over the displayed positive lags. Smaller is closer; zero means the displayed vectors agree. We do not call this score a likelihood or attach a statistical significance level to it. The target itself is generated by the model, not observed from an exchange.

The simulations start from a fixed variance and discard an initial segment. This reduces initialization effects but does not make a finite record an exact draw from the stationary distribution. All figures display actual computed samples; no bars are replaced by theoretical decay curves.

2 Try

What happens beyond the next observation?

A fitted variance for the next observation is already determined by today's information. Later variances contain future squared shocks that have not been seen. Before opening the forecast explorer, decide how to average one of those unknown shocks.

3 Prove

Find the population variance

Theorem: moments of a stationary solution

Assume the GARCH recursion above with \(\omega\gt0\), \(\alpha,\beta\ge0\), and \(p=\alpha+\beta\lt1\). Assume a strictly stationary causal solution with finite \(m=E[h_t]\): causal means that the variance depends only on past innovations. The iid innovations are independent of that past, with mean zero and variance one. Then

\[E[\varepsilon_t^2]=m=\frac{\omega}{1-p}.\]

Also, for the forecasts \(f_k=E[h_{t+k}\mid\mathcal F_t]\), with \(f_1=h_{t+1}\) known at time \(t\), the two-step forecast is \(f_2=\omega+pf_1\); this step uses the recursion and the innovation assumptions, not stationarity. The return mean is the constant μ; hence \(m\) is also the unconditional return variance. The proof derives the moments of the assumed stationary solution. It does not claim that arbitrary fixed initialization is stationary.

Stationarity, boundaries, and squared-return ACFs

With finite variance and the stated zero conditional mean, shocks at distinct times are uncorrelated: condition the later shock on the earlier information. They can still be dependent through their conditional variances. Thus weakly stationary returns need not have constant conditional volatility.

If \(p\ge1\) and \(\omega\gt0\), the moment equation cannot have a finite nonnegative solution. That rules out a stationary solution with finite return variance. It does not rule out every form of strict stationarity with infinite variance. At \(p=0\), both coefficients vanish and the conditional variance is simply the positive intercept.

A population correlation of squared returns requires a finite fourth return moment as well as nonzero variance of the squares. For iid standard normal innovations in the stationary causal model, a sufficient condition is \(3\alpha^2+2\alpha\beta+\beta^2\lt1\). The simulation controls satisfy this condition. A finite sample ACF is still just a descriptive statistic; it is not the population ACF.

4 Apply

Update, forecast, and check units

Use each problem's assumptions. Enter a decimal without units. The accepted absolute error is shown with each problem; hints and a worked solution are available.

From a teaching fit to a likelihood fit

For observed residuals, assume the conditional mean is correctly specified and iid standard normal innovations. Fix a positive initial variance, then compute every subsequent \(h_t\) from the observed past for each proposed parameter vector. The conditional Gaussian log-likelihood is

\[\begin{aligned}\ell&=-\frac12\sum_t b_t,\\b_t&=\log(2\pi)+\log h_t\\&\quad+\varepsilon_t^2/h_t.\end{aligned}\]

Unlike the See score, this objective evaluates the observed residual at its own date-specific variance. Parameters must satisfy the chosen positivity and stationarity restrictions. The maximum likelihood lesson explains why data remain fixed as parameters change. If Gaussianity is dropped, the same formula is a Gaussian quasi-likelihood objective; inferential guarantees require additional regularity assumptions.

After fitting, inspect standardized residuals and their squares for remaining dependence, and evaluate forecasts on data held out of the fit. Symmetric GARCH treats equal-magnitude positive and negative shocks alike. It cannot encode a sign-specific response without an extension.

For several return series, separate variance models do not specify how their shocks move together. A conditional covariance matrix can be written as \(H_t=D_t R_t D_t\), with positive conditional standard deviations on the diagonal of \(D_t\) and a valid correlation matrix \(R_t\). Dynamic conditional correlation (DCC) models add a rule for that changing correlation matrix. This lesson models one return series; its scalar variance recursion alone cannot supply a portfolio covariance forecast.

Key point Keep variance and volatility units separate. A parameter estimate, a conditional variance forecast, and a future realized return are three different objects.
Level Intermediate undergraduatePrerequisites Stationarity, autocorrelation, and conditional expectation (refreshed above)Time About 35 min

Further reading