Adding identity to the system object

For questions regarding programming in the EViews programming language.

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

dauren
Posts: 17
Joined: Mon Sep 03, 2012 5:01 am

Adding identity to the system object

Postby dauren » Mon Jul 21, 2014 10:10 pm

Hi, all!
The following code from the Evievs 8.0 Help does not work:

Code: Select all

system macro1 macro1.append cons=c(1)+c(2)*gdp+c(3)*cons(-1) macro1.append inv=c(4)+c(5)*tb3+c(6)*d(gdp) macro1.append gdp=cons+inv+gov macro1.append inst tb3 gov cons(-1) gdp(-1) macro1.gmm show macro1.results
Below is error message I receive:
"gdp=cons+inv+gov" is not a valid equation for this system/model - identities not allowed in "DO_MACRO1.GMM"

May I add identity to the system object (may be there is a mistake in Eviews 8.0 Help) ?

Sincerely,
Dauren

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

Re: Adding identity to the system object

Postby EViews Gareth » Mon Jul 21, 2014 10:42 pm

You may not add identities to systems.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests