Page 1 of 1

VECM-GARCH Model

Posted: Fri Aug 19, 2016 11:10 am
by TomDoan
This is an example of estimation of a VECM-GARCH model (specifically an asymmetric BEKK model) based loosely on Pardo and Torro(2007), "Trading with asymmetric volatility spillovers", JBFA, vol. 34(9-10), 1548-1568, using a different data set.

Note that the data were taken from Yahoo Finance and are in reversed chronological order. RATS v9.1 automatically detects that and rearranges the data. If you want to run this with an earlier version of RATS, you'll need to use a different data set.
vecmgarch.rpf
Program file
(7.25 KiB) Downloaded 1157 times
usstocks.xls
Data file
(72.5 KiB) Downloaded 784 times

Re: VECM-GARCH Model

Posted: Sat Sep 30, 2017 7:57 am
by Nairoman
Dear Mr. Doan,

In this code there are comments about the relationship between futures and spot prices. It is mentioned that
the theoretical relationship would make unnecessary the estimation of the cointegration vector. I would assume that the relationship is then a vector (-1,1). How could that be included in the model form to be usable in GARCH:

The original is:

set dx1 = logdjia-logdjia{1}
set dx2 = logrut-logrut{1}
*
set ect = %eqnprj(ecteq,t)
*
system(model=garchvecm)
var dx1 dx2
Lags 1 to nlags-1
det constant ect{1}
end(system)
*

So it would be ect equal to a series of (-1,1) ?
set ect = ?

Thanks,

Re: VECM-GARCH Model

Posted: Sat Sep 30, 2017 3:26 pm
by TomDoan
set ect = logdjia-logrut