GARCH Hedge Ratio Using BEKK
Posted: Thu Oct 02, 2008 12:30 pm
Does anyone know how to compute the time varying hedge ratio when the estimates are derived from running the GARCH system?
EViews 6 doesn't support ARCH-in-mean for multivariate ARCH models. You can roll your own ARCH-in-mean by following the steps below:does anyone know whether there is a way of estimating a multivariate GARCH-M in EViews 6?
Code: Select all
' estimate a GARCH model
system sys01
sys01.append y1=c(1)
sys01.append y2=c(2)
sys01.ARCH @DIAGVECH C(INDEF) ARCH(1,INDEF) GARCH(1,INDEF)
sys01.makegarch
' estimate a GARCH model with garch-in-mean terms
system sys02
sys02.append y1=c(1) + c(3)*garch_01 + c(4)*garch_01_02
sys02.append y2=c(2) + c(3)*garch_01 + c(5)*garch_01_02
sys02.ARCH @DIAGVECH C(INDEF) ARCH(1,INDEF) GARCH(1,INDEF)
sys02.makegarch
' set convergence criteria
!conv = 0.01
scalar lk = 0
' continue to estimate if difference between successive estimations is greater than !conv
while (abs(sys02.@logl-lk) >!conv)
sys02.ARCH @DIAGVECH C(INDEF) ARCH(1,INDEF) GARCH(1,INDEF)
lk=sys02.@logl
sys02.makegarch
wend
On a second thought this will create the generated regressors problem!!!Excellent tip! thank you! and it is actually much easier in practise than it sounds!