Page 1 of 1

First Time User.

PostPosted: Tue Feb 26, 2013 12:07 am
by BProfane
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,

Re: First Time User.

PostPosted: Tue Feb 26, 2013 8:49 am
by kyri82
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

Re: First Time User.

PostPosted: Tue Feb 26, 2013 11:11 am
by BProfane
Thanks for the reply I really appreciate it - it's working now.