Page 1 of 1

How to save cointegrating vector from a VECM output

Posted: Thu May 12, 2016 4:14 am
by londonphd
Hello,

I am running a rolling window VECM model and would like to save the cointegrating vectors.

At the moment this is what I am doing

Code: Select all

var ecm.ec({xd}, {xr}) 1 {xl} gdp cap lab xyz freeze(cv) ecm
here, {xd} is the deterministic term, {xr} is the rank order, and {xl} is the optimal lag order, all these are matrix elements.
As you can see, I am using freeze to save cointegrating vectors from tables, but this is much inefficient method. Is there a function other than freeze that can be used to save cointegrating vectors?

Thanks

Re: How to save cointegrating vector from a VECM output

Posted: Thu May 12, 2016 4:26 am
by EViews Gareth

Code: Select all

ecm.@cointvec

Re: How to save cointegrating vector from a VECM output

Posted: Thu May 12, 2016 4:28 am
by londonphd

Code: Select all

ecm.@cointvec
wow, thanks Gareth, will this save the standard errors of the coefs too?
Thanks!

Re: How to save cointegrating vector from a VECM output

Posted: Thu May 12, 2016 4:31 am
by EViews Gareth

Code: Select all

ecm.@cointse
http://www.eviews.com/help/helpintro.ht ... ar.html%23

Scroll down to the Data Members entry near the bottom.

Re: How to save cointegrating vector from a VECM output

Posted: Thu May 12, 2016 4:34 am
by londonphd
Ahhh, spent a few hours trying different ways, should have scrolled down instead of leaving that page.

Thanks!