spool to model

For questions regarding programming in the EViews programming language.

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

mjfl
Posts: 49
Joined: Mon Jul 18, 2011 8:18 am

spool to model

Postby mjfl » Tue Aug 30, 2011 2:29 am

hi apology is this able to be done?
i see one can make varmod poolmod etc but can the above be done?
thk u!

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

Re: spool to model

Postby EViews Gareth » Tue Aug 30, 2011 7:47 am

No it can't, and it doesn't really make any sense. A spool can only contain tables, graphs and text objects. None of which can be put into a model.

mjfl
Posts: 49
Joined: Mon Jul 18, 2011 8:18 am

Re: spool to model

Postby mjfl » Tue Aug 30, 2011 7:09 pm

thk u Gareth. i have been using the bvar add-in in program form.
but i realise it gives a spool and i seem not to be able to get a model of the bvar for which i can solve.
i checked the mkaemodel sub-routine code and tried to "put them together" in a logical manner but none works.
is there such a way to do so? make the model from bvar in the program language so i can solve it?

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

Re: spool to model

Postby EViews Gareth » Tue Aug 30, 2011 7:17 pm

I'm not sure I follow. If you run the bvar addin, it offers you the option to make a model out of the results, which will create a model object. There is no need to do it yourself, and certainly not from the spool.

mjfl
Posts: 49
Joined: Mon Jul 18, 2011 8:18 am

Re: spool to model

Postby mjfl » Tue Aug 30, 2011 8:23 pm

thks gareth for fast response.
smpl 1990q1 2000q2
bvar(prior=2) 4 gdp ir inflation
is my code but how can i make a model from this program?
i would like to solve for this model from 2000q3 to 2009q3 thereafter.

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

Re: spool to model

Postby EViews Gareth » Tue Aug 30, 2011 8:37 pm

looks like there's an "m=modelname" option.

mjfl
Posts: 49
Joined: Mon Jul 18, 2011 8:18 am

Re: spool to model

Postby mjfl » Tue Aug 30, 2011 8:54 pm

thks gareth. my hand was gg numb. didnt see it in the doc. :)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests