Page 1 of 1
Model Creation
Posted: Thu Feb 20, 2014 7:46 am
by kleckleyj
I want to build a series of models, with each having approximately 46 equations. In the past, I would do this equation by equation. Since I use the same specification for each (with a different dependent variable), is there a way to load all 46 equations in the model in one step? For example, would it be possible to read a text file to build the model?
Thanks.
JK
Re: Model Creation
Posted: Thu Feb 20, 2014 9:20 am
by EViews Gareth
Sure. If you right click on the Text view of the model, it gives you the option to insert a text file from disk.
Re: Model Creation
Posted: Thu Feb 20, 2014 9:43 am
by kleckleyj
maybe I'm doing this in the wrong place.
New object
Model
Then I right click and a "model source edit" box appears
I paste the specs
log(lfesaq_001) c log(lfesaq) log(uslf/uslf(-1))
log(lfesaq_002) c log(lfesaq) log(uslf/uslf(-1))
Hit OK and get
Syntax error in "log(lfesaq_001) c log(lfesaq) log(uslf/uslf(-1))"
Syntax error in "log(lfesaq_002) c log(lfesaq) log(uslf/uslf(-1))"
Re: Model Creation
Posted: Thu Feb 20, 2014 9:58 am
by EViews Gareth
You have no coefficients in those equations.
The model object cannot estimate equations. You have to use equation objects to do that, or specify the equation results explicitly - i.e. text along the lines of:
Re: Model Creation
Posted: Thu Feb 20, 2014 11:25 am
by kleckleyj
I understand. I use that to insert identities but was hoping something might exist to input structure and then estimate.
Is it possible to use the command line to estimate and save an equation. It seems that I can perform a couple of the steps, but I could not figure out how to same and name the equation.
Re: Model Creation
Posted: Thu Feb 20, 2014 11:39 am
by EViews Gareth
Re: Model Creation
Posted: Thu Feb 20, 2014 11:51 am
by kleckleyj
That will work, but I have a couple of questions.
How many lines can I insert at once?
If I am limited, can I turn that into a macro?...If so, where I find the programming language. I did not see it on the help stuff.
Thanks.
Re: Model Creation
Posted: Thu Feb 20, 2014 11:56 am
by EViews Gareth
Re: Model Creation
Posted: Thu Feb 20, 2014 12:00 pm
by kleckleyj
Thank you very much. Have a great day.
JK