Graphing multiple scenarios

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

Karl1
Posts: 27
Joined: Tue Aug 27, 2013 1:10 am

Graphing multiple scenarios

Postby Karl1 » Wed Sep 11, 2013 12:10 am

I have made several scenarios, with aliases PS1...PS8, that I wish to plot together in one figure per variable. When I try the commands below, Eviews only uses my last scenario (alias "PS8"), so I get only 2 graphs (baseline and PS8) per figure. How do I get a graph for all the scenarios in each of the figures?

Code: Select all

group gr1 ABC ABD !n1 = gr1.@count for !ii=1 to !n1 %str1 = gr1.@seriesname(!ii) MOD_2SLS.MAKEGRAPH( c, S=m, G=v) GRAPH_{%str1} {%str1} next
I have tried with the aliases behind {%str1}, but that didn't work.

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

Re: Graphing multiple scenarios

Postby EViews Gareth » Wed Sep 11, 2013 11:29 am

You cannot use the model.makegraph command to view more than one scenario (along with baseline).

You'll have to make the graphs manually by grouping the series together and then making a graph from the groups.

Karl1
Posts: 27
Joined: Tue Aug 27, 2013 1:10 am

Re: Graphing multiple scenarios

Postby Karl1 » Thu Sep 12, 2013 3:28 am

Ok. Thanks! I'll work around it.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests