Page 1 of 1

smets wouters errormessage

PostPosted: Sat Jun 30, 2012 7:00 am
by yungtak2
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 + 1*a = calfa*rkf+(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)

Re: smets wouters errormessage

PostPosted: Sun Jul 01, 2012 4:47 pm
by kyri82
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

Re: smets wouters errormessage

PostPosted: Sun Jul 01, 2012 7:56 pm
by jpfeifer
You are running the old version for Dynare 3. Please use the Smets/Wouters model for Dynare 4 posted in the forum. See http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3750

Re: smets wouters errormessage

PostPosted: Sun Jul 08, 2012 10:55 am
by yungtak2
thanks for the replies. Iwill try the new version.

yungtak2