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?
verybasic.mod (657 Bytes)
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/(SIGMAETA))) = y(+1)+((1/SIGMA)pi(+1))+(1/(SIGMAETA))(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.
Thanks for the reply I really appreciate it - it’s working now.