Can Yalnız
Finance · demo

Fading echoes of eGARCH

An interactive eGARCH(1,1). Each day's shock leaves an echo on log variance that fades by β a day, and today's volatility is their sum. Inject shocks, change the size and sign effects, and watch the echoes add up.

  • Canvas 2D
  • JavaScript

Volatility clusters: calm days tend to follow calm days, and turbulent days follow turbulent ones. GARCH-type models capture this by letting today’s variance depend on yesterday’s shocks. Nelson’s exponential GARCH (eGARCH) writes that recursion in log variance, so the variance stays positive for any parameter values. It also splits each shock’s effect in two: a size effect, where large moves of either sign raise volatility, and a sign effect, where falls can raise it more than rises of the same size.

Because the recursion is linear in log variance, it unrolls exactly: today’s log variance is its long-run level plus every past shock’s impact, each shrunk by a factor β\beta per day. The demo draws each of those impacts as a band, an echo, and the net line is their sum. Press play to run it, inject a shock, or hover an echo to follow it as it fades.

Fig. 1Today's volatility is the sum of every past shock's fading echo
Shocks
Inject
Model
Simulated daily eGARCH(1,1) with zero mean. Each innovation z adds one band to the middle panel, sized by the news impact g(z) and shrinking by β per day; the net line is their sum, ln σ² − ln σ̄². Colour is the sign and size of the shock that caused the echo; echoes older than 200 days are lumped into the grey band. σ̄ is the typical (not mean) daily volatility. The source line shows the current seed.
source: in-browser simulation · seed 7 · standard normal innovations

The model

Let rtr_t be the daily log return and Ft−1\mathcal{F}_{t-1} the information set generated by past returns. The return is a constant mean plus a scaled innovation:

rt=μ+εt,εt=σtzt,E[zt]=0,Var⁡(zt)=1,r_t = \mu + \varepsilon_t, \qquad \varepsilon_t = \sigma_t z_t, \qquad \mathbb{E}[z_t] = 0,\quad \operatorname{Var}(z_t) = 1,

where σt2=Var⁡(rt∣Ft−1)\sigma_t^2 = \operatorname{Var}(r_t \mid \mathcal{F}_{t-1}) is the conditional variance and zt=εt/σtz_t = \varepsilon_t / \sigma_t is the variance adjusted residual, drawn i.i.d. The demo sets μ=0\mu = 0.

Variance dynamics

The conditional variance follows the exponential GARCH(1,1) of Nelson (1991), in the parametrisation used by rugarch:

ln⁡σt2=ω+αzt−1+γ(∣zt−1∣−E∣zt−1∣)+βln⁡σt−12.\ln\sigma_t^2 = \omega + \alpha z_{t-1} + \gamma\bigl(\lvert z_{t-1}\rvert - \mathbb{E}\lvert z_{t-1}\rvert\bigr) + \beta \ln\sigma_{t-1}^2 .

The model is written in log variance, so σt2>0\sigma_t^2 > 0 for any parameter values and no positivity constraints are needed.

  • γ\gamma is the size effect: large shocks of either sign raise volatility.
  • α\alpha is the sign (leverage) effect: a negative α\alpha makes negative shocks raise volatility more than positive shocks of the same magnitude (Black, 1976; Christie, 1982; Engle and Ng, 1993).
  • β\beta governs persistence. The log variance is stationary for ∣β∣<1\lvert\beta\rvert < 1.

Echoes

Collect a shock’s two effects into the news impact function and write the long-run log variance as ln⁡σˉ2\ln\bar\sigma^2:

g(z)=αz+γ(∣z∣−E∣z∣),ln⁡σˉ2=ω1−β.g(z) = \alpha z + \gamma\bigl(\lvert z\rvert - \mathbb{E}\lvert z\rvert\bigr), \qquad \ln\bar\sigma^2 = \frac{\omega}{1 - \beta}.

Since E[g(zt)]=0\mathbb{E}[g(z_t)] = 0, ln⁡σˉ2\ln\bar\sigma^2 is the mean of ln⁡σt2\ln\sigma_t^2, and σˉ\bar\sigma is the typical daily volatility. The recursion becomes a decay toward that level plus one new impact per day, and unrolling it gives the sum the demo draws:

ln⁡σt2−ln⁡σˉ2=β(ln⁡σt−12−ln⁡σˉ2)+g(zt−1)=∑k=1∞β k−1g(zt−k).\ln\sigma_t^2 - \ln\bar\sigma^2 = \beta\bigl(\ln\sigma_{t-1}^2 - \ln\bar\sigma^2\bigr) + g(z_{t-1}) = \sum_{k=1}^{\infty} \beta^{\,k-1} g(z_{t-k}).

Each term β k−1g(zt−k)\beta^{\,k-1} g(z_{t-k}) is one echo. It starts at g(zt−k)g(z_{t-k}) and halves every ln⁡12/ln⁡β\ln\tfrac12 / \ln\beta days. The news impact function is two straight lines that meet at z=0z = 0, with slope α−γ{\alpha - \gamma} for negative shocks and α+γ{\alpha + \gamma} for positive ones. On the chart, a value vv on the log-variance scale is labelled as the volatility multiplier ev/2e^{v/2} relative to σˉ\bar\sigma.

In the demo the sliders set γ\gamma, α\alpha, β\beta and σˉ\bar\sigma, and ω=(1−β)ln⁡σˉ2\omega = (1 - \beta)\ln\bar\sigma^2 follows from them.

Innovations

Nelson (1991) used a generalised error distribution (GED) for ztz_t. The demo draws it from a standard normal or a Student tt with ν>2\nu > 2 degrees of freedom, rescaled to unit variance. The term E∣z∣\mathbb{E}\lvert z\rvert in the news impact function depends on that choice:

E∣z∣=2/π(normal),E∣z∣=ν−2  Γ(ν−12)π  Γ(ν2)(Student t).\mathbb{E}\lvert z\rvert = \sqrt{2/\pi} \quad \text{(normal)}, \qquad \mathbb{E}\lvert z\rvert = \frac{\sqrt{\nu - 2}\;\Gamma\bigl(\tfrac{\nu - 1}{2}\bigr)}{\sqrt{\pi}\;\Gamma\bigl(\tfrac{\nu}{2}\bigr)} \quad \text{(Student } t\text{)}.

Finite unconditional moments of σt2\sigma_t^2 and of the returns also need the innovations to have finite exponential moments E[ec∣zt∣]\mathbb{E}\bigl[e^{c\lvert z_t\rvert}\bigr], c>0c > 0. The normal has them; the Student tt does not, so under tt innovations the unconditional variance of the returns is not finite, even though ln⁡σt2\ln\sigma_t^2 stays stationary.

References

  • Black, F. (1976). Studies of stock price volatility changes. Proceedings of the Business and Economic Statistics Section, American Statistical Association, 177–181.
  • Bollerslev, T. (1986). Generalized autoregressive conditional heteroskedasticity. Journal of Econometrics, 31(3), 307–327.
  • Christie, A. A. (1982). The stochastic behavior of common stock variances. Journal of Financial Economics, 10(4), 407–432.
  • Engle, R. F. (1982). Autoregressive conditional heteroscedasticity with estimates of the variance of United Kingdom inflation. Econometrica, 50(4), 987–1007.
  • Engle, R. F., and Ng, V. K. (1993). Measuring and testing the impact of news on volatility. Journal of Finance, 48(5), 1749–1778.
  • Nelson, D. B. (1991). Conditional heteroskedasticity in asset returns: A new approach. Econometrica, 59(2), 347–370.