smets wouters errormessage

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

smets wouters errormessage

Postby yungtak2 » Sat Jun 30, 2012 7:00 am

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)
Attachments
usmodel.mod
(12.05 KiB) Downloaded 68 times
yungtak2
 
Posts: 4
Joined: Sat May 05, 2012 1:42 pm

Re: smets wouters errormessage

Postby kyri82 » Sun Jul 01, 2012 4:47 pm

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
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: smets wouters errormessage

Postby jpfeifer » Sun Jul 01, 2012 7:56 pm

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
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: smets wouters errormessage

Postby yungtak2 » Sun Jul 08, 2012 10:55 am

thanks for the replies. Iwill try the new version.

yungtak2
yungtak2
 
Posts: 4
Joined: Sat May 05, 2012 1:42 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests