Exponential GARCH

The Exponential GARCH (EGARCH) of Nelson (1991) models the logarithm of the variance, which keeps the variance positive without constraints on the parameters, and lets the sign of a shock as well as its size move the variance.

The formula for the Exponential GARCH first measures the shock \(e_{t}\) in units of the conditional volatility \(\sigma_{t}\), the standardized shock \(z_{t}\):

\[z_{t} = \frac{e_{t}}{\sigma_{t}}\]

The log variance then reacts to the size of the last standardized shock above its expected size for a standard normal shock, sqrt(2 / pi), and to its sign, with Omega a constant, Alpha the weight of the size, Gamma the weight of the sign and Beta the weight of the last log variance:

\[\ln\left(\sigma_{t}^{2}\right) = \Omega + \text{Alpha} \cdot \left(\left\lvert z_{t-1}\right\rvert - \sqrt{\frac{2}{\pi}}\right) + \Gamma \cdot z_{t-1} + \text{Beta} \cdot \ln\left(\sigma_{t-1}^{2}\right)\]

A negative Gamma is the leverage effect: a fall raises the variance more than a rise of the same size. Beta is the persistence of the log variance. Because a shock enters in standardized units, a large shock moves the variance less than in the GARCH, where it enters squared.

The conditional variance is the variance of a return given everything known before it. Returns themselves are hard to predict, but their size is not: large moves follow large moves and small moves follow small moves, so turbulent and calm periods alternate (volatility clustering). Engle (1982) captured this with the Autoregressive Conditional Heteroskedasticity (ARCH) model, in which the variance of a period depends on the squared shocks of the periods before it, and Bollerslev (1986) generalized it to GARCH by letting the variance also depend on its own past, which describes long clusters with few parameters. The variants change how a shock feeds into the variance: bad news can weigh more than good news, the volatility can be modelled in logs or in another power, and a shock can fade slowly or never.

Every model works with the shock \(e_{t}\) of a period, the return \(r_{t}\) less its expected value (the return itself when the mean is zero), and the standardized shock \(z_{t} = e_{t} / \sigma_{t}\), which the model assumes to be drawn from a fixed distribution with mean 0 and variance 1, such as the normal or the fat-tailed Student-t. The parameters are those that make the observed returns most likely (maximum likelihood), and the model then filters a variance for every period; its square root is the conditional volatility.

A high conditional variance marks a turbulent period. How fast it returns to its long-run level after a shock, the persistence, sets how long a turbulent period lasts; daily returns typically show a persistence close to one, the observation behind the integrated GARCH (Engle and Bollerslev, 1986). The variance is only as good as the model: when the standardized shocks are not independent draws from the assumed distribution, the model misses part of the dynamics.

Also known as: EGARCH, log-GARCH.

In the Finance Toolkit this is get_garch with method="egarch", the same function as GARCH Volatility Model.

Example · BTCUSD · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_garch:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["BTCUSD"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.risk.get_garch(method="egarch")

Which returns:

References

  • Paper Nelson, D.B. (1991). “Conditional Heteroskedasticity in Asset Returns: A New Approach.” Econometrica, 59(2), 347-370.
  • Paper Fractionally Integrated GARCH, ARFIMA mean: Granger, C.W.J. and Joyeux, R. (1980). “An Introduction to Long-Memory Time Series Models and Fractional Differencing.” Journal of Time Series Analysis, 1(1), 15-29.
  • Paper Fractionally Integrated GARCH, ARFIMA mean: Hosking, J.R.M. (1981). “Fractional Differencing.” Biometrika, 68(1), 165-176.
  • Paper GARCH-in-mean: Engle, R.F., Lilien, D.M. and Robins, R.P. (1987). “Estimating Time Varying Risk Premia in the Term Structure: The ARCH-M Model.” Econometrica, 55(2), 391-407.
  • Library Referenced against arch’s EGARCH (Exponential GARCH)
Share