VAR stability

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

samewing7
Posts: 9
Joined: Mon Mar 21, 2016 4:11 am

VAR stability

Postby samewing7 » Fri Apr 01, 2016 2:57 am

Hello,

I am currently constructing a unrestriced VAR with 4 variables. As I want to use impulse response functions I want to test for stability in the system. Is it possible to find the eigenvalues of the "companion matrix" of the system using eviews?

Regards,

Sam

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

Re: VAR stability

Postby EViews Gareth » Fri Apr 01, 2016 8:02 am

varname.@companion returns the companion matrix of the VAR. You can then find the eigenvalues with the @eigenvalues function.

samewing7
Posts: 9
Joined: Mon Mar 21, 2016 4:11 am

Re: VAR stability

Postby samewing7 » Fri Apr 01, 2016 9:18 am

varname.@companion returns the companion matrix of the VAR. You can then find the eigenvalues with the @eigenvalues function.
thank you for this. i have input the command, however, when I enter the command I am met with the message "@COMPANION is not a member or procedure of NOPI1" what would you suggest I do from here?

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

Re: VAR stability

Postby EViews Gareth » Fri Apr 01, 2016 9:27 am

It is only available in EViews 9.5 and above.

samewing7
Posts: 9
Joined: Mon Mar 21, 2016 4:11 am

Re: VAR stability

Postby samewing7 » Fri Apr 01, 2016 9:39 am

I have the student lite version, does it not work on that?

samewing7
Posts: 9
Joined: Mon Mar 21, 2016 4:11 am

Re: VAR stability

Postby samewing7 » Fri Apr 01, 2016 9:40 am

It is only available in EViews 9.5 and above.

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

Re: VAR stability

Postby EViews Gareth » Fri Apr 01, 2016 10:52 am

It works on EViews 9.5 Student Version Lite...

samewing7
Posts: 9
Joined: Mon Mar 21, 2016 4:11 am

Re: VAR stability

Postby samewing7 » Tue Apr 05, 2016 2:43 am

It works on EViews 9.5 Student Version Lite...
Hi Gareth,

Sorry to be a pain again. I have entered the command as you instructed, however, I am now met with the error message "Index missing in OI1.@companion"". What does this mean? Is it possible to rectify.

Thank you for your on going help.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: VAR stability

Postby EViews Glenn » Tue Apr 12, 2016 12:11 am

matrix a = OI1.@companion


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests