Page 1 of 1

SUR in model?

Posted: Mon Jul 02, 2018 5:53 am
by maianq
hi!
my question regards the making of a model (programming).

I inherited a workfile with a big file that doesn't always work nicely. I cannot solve for the bugs for example. Anyhow, i am trying to program the model. This is where I need your help.

The model consists of several estimated equations, some identities and 2 systems of seemingly unrelated regressions.

How do I append the 2 systems of SUR to the model? (The model is made all estimated equations and identities so far).

Thank you!

E

Re: SUR in model?

Posted: Mon Jul 02, 2018 7:35 am
by EViews Gareth

Code: Select all

modelname.append systemname

Re: SUR in model?

Posted: Tue Jul 03, 2018 3:22 am
by maianq
Hi Gareth,

I have tried what you suggested but it doesn't work. I attach a printscreen of my code and what I get when I run the file.
Any suggestions on what can be wrong with it?


Thank you!

E

Re: SUR in model?

Posted: Tue Jul 03, 2018 7:28 am
by EViews Gareth
Sorry, forgot the colon:

Code: Select all

modelname.append :systemname

Re: SUR in model?

Posted: Wed Jul 04, 2018 12:27 am
by maianq
Hi Gareth,

thanks again for your help....unfortunately that : doesnt help either. The error message I get now is "sys_budgetand is not defined in :sys_budgetand".

WHen i run the prg file where I define the system,( the program in the picture) there is no problem for the eviews to create the system. Eviews only problem is that it doesnt seem to add it to the model, where I actually need it.

Do you have other suggestions?

Thanks a lot!

E

Re: SUR in model?

Posted: Wed Jul 04, 2018 3:18 am
by maianq
now it worked ( I had a mistake in the code)!!! Thank you so much Gareth!!

E