First Time User.

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

First Time User.

Postby BProfane » Tue Feb 26, 2013 12:07 am

Hello,

I am a first time user trying to look at the effects of an expansion in the money supply and keep getting the following error message:
Starting Dynare (version 4.3.2).
Starting preprocessing of the model file ...
ERROR: verybasic.mod:21.21: syntax error, unexpected EQUAL

Error using dynare (line 114)
DYNARE: preprocessing failed

I have no idea why this keeps happening, could someone have a look?


Thanks,
Attachments
verybasic.mod
(657 Bytes) Downloaded 49 times
BProfane
 
Posts: 4
Joined: Tue Feb 26, 2013 12:02 am

Re: First Time User.

Postby kyri82 » Tue Feb 26, 2013 8:49 am

the brackets in the equation in the line that you get the error are not balanced, on the left hand side of that equation. This is now correct. Note also that you had another mistake, you meant to use the simple for the division "/" and you used "\".

y*(1+(1/(SIGMA*ETA))) = y(+1)+((1/SIGMA)*pi(+1))+(1/(SIGMA*ETA))*(m-p);

You have the same problem a few lines after:

m - m(-1)= RHO_M*((m(-1)*m(-2)));

When yo get messages like that it is mostly either unbalanced brackets or you forgot to use the ";" sign to end the equation above.

Kyriacos
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: First Time User.

Postby BProfane » Tue Feb 26, 2013 11:11 am

Thanks for the reply I really appreciate it - it's working now.
BProfane
 
Posts: 4
Joined: Tue Feb 26, 2013 12:02 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests