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
Model Creation
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Model Creation
Sure. If you right click on the Text view of the model, it gives you the option to insert a text file from disk.
Follow us on Twitter @IHSEViews
Re: Model Creation
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))"
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))"
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Model Creation
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:
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:
Code: Select all
y=0.5+2*x+3*w
Follow us on Twitter @IHSEViews
Re: Model Creation
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.
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.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Model Creation
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.
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.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Model Creation
Thank you very much. Have a great day.
JK
JK
Who is online
Users browsing this forum: No registered users and 22 guests