Smets wouters errormessage

professor and all.
(sent this message to your email)

I was running dynare (smets wouters model), receiving error messages,

dynare usmodel

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.

Starting Dynare …
Starting preprocessing of the model file …
ERROR: usmodel.mod:80.13: syntax error, unexpected ‘;’, expecting EQUAL

??? Error using ==> dynare
DYNARE: preprocessing failed

After I gotrid of ;

I received another errormessage

Starting Dynare …
Starting preprocessing of the model file …
ERROR: usmodel.mod:84.7: syntax error, unexpected INT_NUMBER, expecting EQUAL

??? Error using ==> dynare
DYNARE: preprocessing failed

Line 84.7 has

0*(1-calfa)a + 1a = calfarkf+(1-calfa)(wf) ;

From here I have no idea where to go.

I am currently running dynare 4 and matlab 7.1.

(I am not sure if the version of program matters)
usmodel.mod (12 KB)

Hi,
when I run it on my Dynare I do not get the same message, I get:

ERROR: usmodel2.mod:80.14: syntax error, unexpected ‘;’, expecting EQUAL

At line 80, which is in the “model” bloc, you have the command: #usmodel_stst;

What does this command do?

Kyri

You are running the old version for Dynare 3. Please use the Smets/Wouters model for Dynare 4 posted in the forum. See [Smets/Wouters (2007) in Dynare 4.2.5)

thanks for the replies. Iwill try the new version.

yungtak2