I am new in Dynare, actually exploring my first simple code and when I try to run it it happens this:
Starting Dynare (version 4.5.7).
Starting preprocessing of the model file …
ERROR: firstmodel.mod: line 43, col 4: syntax error, unexpected DIVIDE, expecting EQUAL or ‘.’
Error using dynare (line 229)
DYNARE: preprocessing failed
I have been reviewing forums but I do not get how to solve it. Anyone can help? Notice that in line 43 I do not have any code write it and in line 42 there is the corresponding ‘;’. Thanks in advance for your time!
firstmodel.mod (1.9 KB)
Hi, You have a lot of typos/errors in this file. Attached is a corrected version, but there is still an issue with the steady state that you need to solve.
firstmodel.mod (2.2 KB)
Hi @stepan-a ,
Thank you for your help, I have still a lot to learn, any guidance about how to solve the steady state errors?
I would first check that all the variables are correctly initialized (in the
initval block) and that all the parameters have values. A missing initialization may explain the NaNs. I did not have time to check when I did read your file.