GARCH Volatility Models

Interactive exploration of EWMA and GARCH models for time-varying conditional volatility

Financial return volatility is not constant: it clusters in time and mean-reverts to a long-run level. This page explores the two workhorse models for tracking conditional volatility: the Exponentially Weighted Moving Average (EWMA/RiskMetrics) and the Generalized Autoregressive Conditional Heteroskedasticity (GARCH, Bollerslev 1986) family. Both models decompose daily returns as

\[ R_{t+1} = \sigma_{t+1}\, z_{t+1}, \quad z_{t+1} \sim \text{i.i.d.}\;(0,1) \]

where \(\sigma_{t+1}\) is the conditional standard deviation forecast and \(z_{t+1}\) is the standardized innovation. The goal is to model and forecast \(\sigma^2_{t+1}\) (see Hull 2023, secs. 8.6–8.10; Christoffersen 2012, chap. 4).

1. EWMA vs GARCH(1,1)

The EWMA model updates variance as a weighted average of yesterday’s variance and squared return, with all weight on recent data and no mean reversion:

\[ \sigma^2_{t+1} = \lambda\,\sigma^2_t + (1-\lambda)\,R^2_t, \quad \lambda = 0.94 \]

The GARCH(1,1) model adds a pull toward long-run variance \(V_L = \omega/(1-\alpha-\beta)\):

\[ \sigma^2_{t+1} = \omega + \alpha\,R^2_t + \beta\,\sigma^2_t, \quad \alpha + \beta < 1 \]

Both models are applied to the same simulated return series (generated from the GARCH process) so that the comparison is like-for-like.

Note

What happens when \(\alpha + \beta \geq 1\)?

The stationarity condition \(\alpha + \beta < 1\) ensures that the long-run variance \(V_L = \omega/(1-\alpha-\beta)\) is well-defined and positive, and that shocks to variance eventually decay. When this condition is violated:

  • \(\alpha + \beta = 1\) (the EWMA/RiskMetrics case): \(\omega = 0\) and the long-run variance is undefined. Variance follows a random walk: any shock persists forever in the forecast, and the model has no “anchor” to revert to. This is the EWMA model with \(\lambda = \beta\).
  • \(\alpha + \beta > 1\): The process is explosive. Shocks to variance are amplified over time rather than decaying, and the unconditional variance is infinite. The model is mean-averting rather than mean-reverting.

In practice, estimated GARCH models for financial data almost always yield \(\alpha + \beta\) slightly below 1 (typically 0.95 to 0.99), confirming that variance is highly persistent but ultimately stationary.

Tip

How to experiment

Adjust the GARCH parameters \(\alpha\) and \(\beta\) to control persistence and reactivity. Then compare with EWMA by varying \(\lambda\). After a volatility spike, watch how GARCH variance reverts to the long-run level (dashed line) while EWMA stays elevated. Check the ACF tabs to see which model better removes autocorrelation from squared returns. Try pushing \(\alpha + \beta\) close to or above 1 to see the stationarity constraint in action.

2. GARCH(1,1) simulator

The GARCH(1,1) model has three parameters (\(\omega\), \(\alpha\), \(\beta\)), but these map to interpretable quantities:

\[ \sigma^2_{t+1} = \underbrace{(1-\alpha-\beta)}_{\gamma}\,V_L + \alpha\,R^2_t + \beta\,\sigma^2_t \]

where \(V_L = \omega/(1-\alpha-\beta)\) is the long-run variance and \(\alpha + \beta\) is the persistence measuring how long a volatility shock takes to decay.

Tip

How to experiment

Increase \(\alpha\) to make volatility more reactive to recent shocks. Increase \(\beta\) to make it more persistent. Watch the conditional volatility tab and ACF diagnostics. With very high persistence (\(\alpha + \beta > 0.99\)), the model behaves almost like EWMA.

3. GARCH(2,2) simulator

The GARCH(2,2) model extends GARCH(1,1) with two lags each of squared returns and variance, allowing richer autocorrelation dynamics:

\[ \sigma^2_{t+1} = \omega + \alpha_1 R^2_t + \alpha_2 R^2_{t-1} + \beta_1 \sigma^2_t + \beta_2 \sigma^2_{t-1} \]

The long-run variance is \(V_L = \omega / (1 - \alpha_1 - \alpha_2 - \beta_1 - \beta_2)\). This model can equivalently be written as a component GARCH with interpretable short-run and long-run variance factors (see Christoffersen 2012, sec. 5.3 and appendix A).

Tip

How to experiment

Compare with GARCH(1,1) using similar total persistence (\(\alpha_1 + \alpha_2 + \beta_1 + \beta_2 \approx \alpha + \beta\)). GARCH(2,2) can capture slower ACF decay in squared returns. Watch for non-stationarity when the sum of all parameters approaches 1.

4. Multi-period variance forecast

A key advantage of GARCH over EWMA is mean-reverting forecasts. The expected variance \(k\) days ahead under GARCH(1,1) is:

\[ E_t[\sigma^2_{t+k}] = V_L + (\alpha + \beta)^{k-1}\,(\sigma^2_{t+1} - V_L) \]

As \(k \to \infty\), the forecast converges to \(V_L\). Under EWMA (\(\alpha + \beta = 1\)), the forecast is flat: \(E_t[\sigma^2_{t+k}] = \sigma^2_{t+1}\) for all \(k\).

For multi-day VaR, we need the cumulative variance of the \(K\)-day return \(R_{t+1:t+K}\):

\[ \sigma^2_{t+1:t+K} = K\,V_L + \frac{1-(\alpha+\beta)^K}{1-(\alpha+\beta)}\,(\sigma^2_{t+1} - V_L) \]

Tip

How to experiment

Start with current volatility above the long-run level and watch the GARCH forecast curve downward while EWMA stays flat. Then try setting current volatility below long-run to see upward reversion. Increase persistence toward 1 to see the two models converge.

5. News impact function

The news impact function (NIF) shows how today’s standardized shock \(z_t\) affects tomorrow’s variance. Standard GARCH assumes a symmetric parabola, but the leverage effect (negative returns increase volatility more than positive returns) motivates asymmetric extensions (see Christoffersen 2012, sec. 5.1).

Model Formula NIF
GARCH \(\sigma^2_{t+1} = \omega + \alpha\sigma^2_t z^2_t + \beta\sigma^2_t\) \(z^2_t\) (symmetric)
NGARCH \(\sigma^2_{t+1} = \omega + \alpha\sigma^2_t(z_t - \theta)^2 + \beta\sigma^2_t\) \((z_t - \theta)^2\) (shifted)
GJR-GARCH \(\sigma^2_{t+1} = \omega + \alpha R^2_t + \alpha\theta I_t R^2_t + \beta\sigma^2_t\) \(z^2_t + \theta I_t z^2_t\) (kinked)
Tip

How to experiment

Select different models and adjust the leverage parameter \(\theta\). With NGARCH, a positive \(\theta\) shifts the minimum of the parabola to the right, so negative shocks (left of the minimum) produce larger variance increases. With GJR-GARCH, \(\theta > 0\) adds an extra kick for negative returns, creating a visible kink at \(z_t = 0\).

References

Bollerslev, Tim. 1986. “Generalized Autoregressive Conditional Heteroskedasticity.” Journal of Econometrics 31 (3): 307–27.
Christoffersen, Peter F. 2012. Elements of Financial Risk Management. 2nd ed. Academic Press.
Hull, John. 2023. Risk Management and Financial Institutions. 6th ed. John Wiley & Sons.