Skip to main content

Quant Analytics: from scratch to pro · Factors, volatility, regimes and lead-lag · Advanced

Volatility models: EWMA and GARCH

Volatility is not constant: calm and turbulent spells cluster. EWMA and GARCH update a variance estimate each day from the latest return, and GARCH adds a long-run level that forecasts revert to. Persistence sets how long a shock lingers.

3 min read Reviewed Revision 1

In this lesson

  • Update an EWMA variance estimate from a new return
  • Update a GARCH(1,1) variance and compute its long-run variance
  • Compute persistence and the half-life of a volatility shock
  • Forecast volatility several days ahead and explain why the forecast reverts

Read first: Volatility: from daily moves to an annual figure, Time series basics: random walks, autocorrelation and stationarity

Volatility forecast after a spike, by model

  • GARCH, persistence 0.98
  • GARCH, persistence 0.90
  • EWMA (flat)
1.0% 1.2% 1.4% 1.6% 1.8% 2.0% 0103060100120 Days ahead
Forecast daily volatility. Computed from the forecast formula, starting at a 2% daily volatility with a long-run level of 1%. Higher persistence means a slower return to the long-run level; EWMA has none.

Worked numbers

Each result is recomputed from the formula shown.

WhatFormulaResult
new EWMA variance0.94 * 0.0001 + 0.06 * 0.02**20.000118
daily volatility from itsqrt(ewma_var)1.086%
annualisedewma_vol * sqrt(252)17.24%
half-life of an EWMA weight, in daysln(0.5) / ln(0.94)11.2
average age of data, in days1 / (1 - 0.94)16.7
omega for long-run daily variance 0.00010.0001 * (1 - 0.08 - 0.90)0.000002
next-day variance after a -3% returnomega + 0.08 * 0.03**2 + 0.90 * 0.02**20.000434
next-day volatilitysqrt(g_var)2.083%
persistence0.08 + 0.900.98
half-life of a variance shock, in daysln(0.5) / ln(persist)34.3
volatility forecast 10 days ahead from 2%sqrt(0.0001 + persist**10 * (0.02**2 - 0.0001))1.858%
long-run annual volatilitysqrt(0.0001 * 252)15.87%

Check yourself

EWMA with lambda 0.94: yesterday's daily variance estimate was 0.0001 and today's return is -2%. What is the new variance?

0.94 x 0.0001 + 0.06 x 0.0004 = 0.000118, a volatility of 1.086%.

A GARCH(1,1) has alpha 0.08 and beta 0.90. What is its persistence and the half-life of a variance shock?

Persistence 0.98. Half-life = ln(0.5) / ln(0.98) = 34.3 days.

What long-run variance does omega = 0.000002 imply with alpha 0.08 and beta 0.90?

omega / (1 - alpha - beta) = 0.000002 / 0.02 = 0.0001, a daily volatility of 1%.

How does EWMA differ from GARCH in a 30-day forecast?

EWMA has no long-run level (it is GARCH with omega = 0), so its forecast stays flat at today's value. GARCH reverts towards the long-run variance.

What happens if alpha + beta is 1.01?

The process is not stationary: shocks never fade and there is no finite long-run variance. A fitted value that high on a short sample usually signals a model problem.

Key terms

Exponentially weighted moving averageGARCHHalf-lifeVolatility

Checked facts

Every figure below carries how it was checked: Primary checked (read in the cited primary, official, academic or data source), Two sources agree, or Approximate (an order of magnitude only).

Sources

Informational content. Not investment advice.