Retrieve List of Scenarios from a Model

For questions regarding programming in the EViews programming language.

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

Dave_the_Forecaster
Posts: 16
Joined: Fri Aug 16, 2013 1:52 am

Retrieve List of Scenarios from a Model

Postby Dave_the_Forecaster » Fri Aug 16, 2013 2:03 am

Hi,

I'm running Eviews 7.1 and I'm trying to write a program that looks for the existence of certain scenarios within a model object.

I know that there are commands to retrieve a list of equations, variables etc, but there doesn't seem to be a command that returns all scenarios within a model object.

Does such a function exist? If not, can anyone think of way of doing this?


Cheers

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

Re: Retrieve List of Scenarios from a Model

Postby EViews Gareth » Fri Aug 16, 2013 8:19 am

There is no such function (or a way to do it) in EViews 7 :(

Dave_the_Forecaster
Posts: 16
Joined: Fri Aug 16, 2013 1:52 am

Re: Retrieve List of Scenarios from a Model

Postby Dave_the_Forecaster » Mon Aug 19, 2013 9:00 am

OK thanks Gareth.
Is that subliminal advertising for Eviews 8 ? :)

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

Re: Retrieve List of Scenarios from a Model

Postby EViews Gareth » Mon Aug 19, 2013 9:10 am

Yes :D

In EViews 8 you can do model.@scenarios


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest