Hello,its me again...
I got a problem because the data get cointegration relationship,so I tried to do the VECM model,but I have no idea on how to compute the arch test,can you help me?
@johmle(lags=3,det=rc,cv=cv1)
# LYEN LNKK
**
* Define a three lag VAR with the gap being a cointegrating vector
*
system(model=vecmmodel)
variables LYEN LNKK
lags 1 to 3
det constant ect{1}
end(system)
Yes, but you probably don't want to include an "M" term for the series which is showing little GARCH behavior---if you do, the data underlying the M coefficient will be effectively flat and thus can't be estimated (it would be collinear with the CONSTANT). As an example, see Elder and Serletis, who only include an M effect on the oil price, not on GDP.
So you mean I can't do the VECM?
I got two variables of macroeconomic changes ,one is set as the code attached above ,the other change is calculated by other way not logarithm,both of them are stationary but get cointigration relationship.
If they're stationary, then there is no cointegrating relationship. The cointegrating relationship has to be between I(1) variables. If you're saying that log(y) and x are cointegrated, and that dlog(y) and dx are stationary, then you want log(y) and x as the dependent variables in the SYSTEM (and in the @JOHMLE), not the changes.
Have you tested them for I(1)? I'm guessing that they don't have unit roots. If they aren't integrated, they can't be COintegrated. If anything has a possibility of being cointegrated, it would probably be log(vix) and log(xt). If log(vix) and log(xt) are, in fact, cointegrated, then VAR1 is misspecified.