Threshold GARCH

The Threshold GARCH (TGARCH) of Zakoian (1994) models the conditional volatility rather than the variance, piecewise linear in the last shock with a different slope for falls and rises.

The formula for the Threshold GARCH is as follows:

\[\sigma_{t} = \Omega + \text{Alpha} \cdot \left(\left\lvert e_{t-1}\right\rvert - \Gamma \cdot e_{t-1}\right) + \text{Beta} \cdot \sigma_{t-1}\]

Where \(\sigma_{t}\) is the conditional volatility of period t, e(t-1) the shock of the period before, Omega a positive constant, Alpha the reaction to the last shock, Gamma between -1 and 1 the leverage and Beta the weight of the last volatility. A fall raises the volatility by Alpha * (1 + Gamma) times its size and a rise by Alpha * (1 - Gamma), so a positive Gamma is the leverage effect. Working with the volatility rather than its square makes it less sensitive to a single extreme shock than the GARCH.

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: TGARCH, threshold ARCH, TARCH.

In the Finance Toolkit this is get_garch with method="tgarch", 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="tgarch")

Which returns:

References

  • Paper Zakoian, J.M. (1994). “Threshold Heteroskedastic Models.” Journal of Economic Dynamics and Control, 18(5), 931-955.
  • Paper Hentschel, L. (1995). “All in the Family: Nesting Symmetric and Asymmetric GARCH Models.” Journal of Financial Economics, 39(1), 71-104.
  • 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 APARCH (Asymmetric Power ARCH, Threshold GARCH, Nonlinear GARCH)
  • Library Shares similar logic as rugarch (R)’s ugarchspec (Generalized Autoregressive Conditional Heteroskedasticity Model, Integrated GARCH, Asymmetric Power ARCH, Threshold GARCH, Nonlinear GARCH, Absolute Value GARCH, Nonlinear Asymmetric GARCH, Component GARCH, Realized GARCH, ARFIMA mean)
Share