Matrix of Loadings in VECM-GARCH
Posted: Mon May 11, 2015 10:59 am
Dear all,
I would like to estimate a bivariate VECM-BEKK model and then compute the orthogonal vector to the error correction coefficients which I need for the calculation of information shares. However, I run into problems when I try to do this in RATS.
I have done this procedure before in the framework of a standard VECM without GARCH errors:
This works fine. However, it does not work when I try to estimate the above model with GARCH errors (in my case a standard BEKK-model) by replacing the command "estimate" with the following instruction:
Apparently the error correction term is somewhat ignored in this estimation as it is not displayed in the output. Consequently, the calculation of the orthogonal vector to %vecmalpha is also ignored. I managed to reformulate the VECM-BEKK so that it includes the error correction term:
Yet when I try to calculate the orthogonal vector to the error correction coefficients, i.e.:
I get the error:
Thanks a lot.
I would like to estimate a bivariate VECM-BEKK model and then compute the orthogonal vector to the error correction coefficients which I need for the calculation of information shares. However, I run into problems when I try to do this in RATS.
I have done this procedure before in the framework of a standard VECM without GARCH errors:
Code: Select all
set logspot = log(spot)
set logfutures = log(futures)
*
*
*Restrict cointegrating relationship:
equation(coeffs=||1.0,-1.0||) eqxy
# logfutures logspot
*
system(model=vecm)
variables logfutures logspot
lags 1 to 3
det constant
ect eqxy
end(system)
estimate
*Compute orthogonal vector to error correction coefficients:
compute alphaperp=%perp(%vecmalpha)
Code: Select all
garch(model=vecm,mv=bekk,hmatrices=h, MVHSERIES=bekkHmatrix, rvectors=r,pmethod=simplex,piters=5,method=bfgs,iters=400)
Code: Select all
set retspot = log(spot)-log(spot{1})
set retfutures = log(futures)-log(futures{1})
set ect = log(futures)-log(spot)
*
system(model=vecm)
variables retspot retfutures
lags 1 to 3
det constant ect{1}
end(system)
*
* Estimate by GARCH-BEKK
*
garch(model=vecm,mv=bekk,hmatrices=h, MVHSERIES=bekkHmatrix, rvectors=r,pmethod=simplex,piters=5,method=bfgs,iters=400)
Code: Select all
compute alphaperp=%perp(%vecmalpha) Any suggestions how I can solve this issue?## I1. Expected Instruction - ALP Is Not Recognizable As One
>>>>alphaperp=<<<<
Thanks a lot.