How to save cointegrating vector from a VECM output

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

londonphd
Posts: 37
Joined: Fri Oct 23, 2015 11:39 am

How to save cointegrating vector from a VECM output

Postby londonphd » Thu May 12, 2016 4:14 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to save cointegrating vector from a VECM output

Postby EViews Gareth » Thu May 12, 2016 4:26 am

Code: Select all

ecm.@cointvec

londonphd
Posts: 37
Joined: Fri Oct 23, 2015 11:39 am

Re: How to save cointegrating vector from a VECM output

Postby londonphd » Thu May 12, 2016 4:28 am

Code: Select all

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to save cointegrating vector from a VECM output

Postby EViews Gareth » Thu May 12, 2016 4:31 am

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.

londonphd
Posts: 37
Joined: Fri Oct 23, 2015 11:39 am

Re: How to save cointegrating vector from a VECM output

Postby londonphd » Thu May 12, 2016 4:34 am

Ahhh, spent a few hours trying different ways, should have scrolled down instead of leaving that page.

Thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests