# sign in Smets Wouters 2007 mod file

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.

# sign in Smets Wouters 2007 mod file

Postby reubenpjacob » Tue Sep 27, 2011 3:53 pm

i am trying to replicate the SW AER 2007 paper using dynare version 4.2.0
in the mod file, SW use a command
#usmodel_stst
(to call the m file in the syntax modfilename_stst that defines steady state restrictions on the estimated parameters)

however this seems to be causing the error message:

ERROR: usmodel.mod:83.1: syntax error, unexpected '#', expecting EQUAL

has anybody encountered this problem?

thanks
reuben
reubenpjacob
 
Posts: 133
Joined: Fri Oct 06, 2006 3:23 pm
Location: Reserve Bank of New Zealand

Re: # sign in Smets Wouters 2007 mod file

Postby SébastienVillemot » Wed Oct 12, 2011 4:08 pm

I guess that this was written using Dynare 3. This construct is no longer valid under Dynare 4, but you may obtain the same result using the "external_function" command.

I cannot be more precise without more details on your problem (I don't have the MOD file you're talking about).

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: # sign in Smets Wouters 2007 mod file

Postby jpfeifer » Thu Apr 19, 2012 6:41 am

------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron