Page 1 of 1

Smets Wouters (2007) code in Dynare 4.1

PostPosted: Sun Mar 28, 2010 1:33 am
by jjones
I am trying to run the Smets-Wouters (2007) code in Dynare 4.1 but with no success as it appears to have been written for an earlier version.

I was able to make my way around the first error by replacing
Code: Select all
#usmodel_stst;

with
Code: Select all
@#include "usmodel_stst.m"

but now the code thinks that these parameters are in fact equations and I receive the error:
ERROR: There are 58 equations but 40 endogenous variables!


I would greatly appreciate your help in this. I have attached all the code files.

Re: Smets Wouters (2007) code in Dynare 4.1

PostPosted: Thu Apr 08, 2010 7:25 am
by rmaureen
Hi jjones,

Have you gotten any reply yet? I also have the same problem. I wonder how the usmodel_stst.m file can be read in dynare version 4.

Hope someone who is successful in doing so can help out. Thanks so much.

maureen

Re: Smets Wouters (2007) code in Dynare 4.1

PostPosted: Thu Apr 08, 2010 12:58 pm
by ifabbri
Hi I'm trying to run the Smets Wouters (2007) code the file.mod
Typing just usmodel but even if it lasts more than 5 hours at the end it does not work. I cannot find the endogenous and exogenous variables matrices, and the steady-state results

I have Dynare 4.0

Anyone could help me??