graph object with impulse responses

For questions regarding programming in the EViews programming language.

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

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

graph object with impulse responses

Postby nadja123 » Thu Aug 06, 2009 11:24 am

Hi,
I encountered problems with freezing graph view of VAR impulse responses into a graph object. I did not find the way to preserve error bounds and formatting in the chart, instead it just plots a single line. That's not what I like for presentation purposes. When working manually, I had no problem to freeze the graphs exactly as appeared in graph view.
Basically, I used this code (because it was a problem to add more options after the freeze command, I got error messages):
var var01.ls 1 1 gdp tax cons
var01.impulse (7, m, imp=chol, se=a) gdp tax cons @ gdp tax cons @ gdp tax cons
freeze(cholesky01) var01.impulse

Can you pls help me to improve the code? In fact I work upon a bunch of countries and have no mind to create about 30 graph objects manually.
Thanks!

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

Re: graph object with impulse responses

Postby EViews Gareth » Thu Aug 06, 2009 12:01 pm

Code: Select all

var var01.ls 1 1 gdp tax cons freeze(cholesky01) var01.impulse(7, m, imp=chol, se=a) gdp tax cons @ gdp tax cons @ gdp tax cons

nadja123
Posts: 72
Joined: Thu Aug 06, 2009 10:43 am

Re: graph object with impulse responses

Postby nadja123 » Thu Aug 06, 2009 1:04 pm

Yes, right :oops: I probably did some typo fault when trying this possibility. Now I created a for loop which gonna do all the work for multiple countries instantly.
Thanks for quick reply, I find this forum pretty cool, one of strongest pros about EViews.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests