Request for codes of basic EGARCH model

Discussions of ARCH, GARCH, and related models
Aixia_Mei
Posts: 29
Joined: Wed Dec 03, 2014 7:16 pm

Request for codes of basic EGARCH model

Unread post by Aixia_Mei »

Hi Tom,

Can I ask for the code of basic EGARCH variance equation? The build-in function cannot serve my aim, since I need do some extra changes to the original equation. I write EGARCH(1,1) as follows, but it seems wrong.

The basic variance equation of EGARCH(1,1) is:
log(σt^2)=ω+α*|ε(t-1)|/σ(t-1) +δ* ε(t-1)/σ(t-1) +β*log(σ(t-1)^2)

The codes I write is:
frml ht = exp(a0+a1*abs(u{1})/v{1}+a2*u{1}/v{1})+a3*(log(v{1}**2))


Many thanks,
Aixia
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Request for codes of basic EGARCH model

Unread post by TomDoan »

This is based upon the model used in GARCHUVMAX.RPF but does an asymmetric EGARCH model instead of one of the models shown there. It's easier to keep the variance in variance rather than standard deviation form, so the A and D terms use sqrt(h{1}) in the denominator.
Attachments
garchuvmaxegarch.rpf
Example of EGARCH by MAXIMIZE
(3.03 KiB) Downloaded 713 times
Post Reply