Smets Wouters (2007) code in Dynare 4.1

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 (2007) code in Dynare 4.1

Postby jjones » Sun Mar 28, 2010 1:33 am

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.
Attachments
usmodel_stst.m
(868 Bytes) Downloaded 133 times
usmodel.mod
(12.06 KiB) Downloaded 163 times
jjones
 
Posts: 1
Joined: Sun Mar 28, 2010 1:25 am

Re: Smets Wouters (2007) code in Dynare 4.1

Postby rmaureen » Thu Apr 08, 2010 7:25 am

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
rmaureen
 
Posts: 8
Joined: Wed Mar 10, 2010 7:33 am

Re: Smets Wouters (2007) code in Dynare 4.1

Postby ifabbri » Thu Apr 08, 2010 12:58 pm

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??
ifabbri
 
Posts: 1
Joined: Thu Apr 08, 2010 12:46 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests