jpfeifer wrote:Attached is a version of the Smets/Wouter (2007) model for Dynare 4.2.5. Due to a bug in Dynare 4.2.5 you need to replace the file matlab\distributions\inverse_gamma_specification.m with the attached one.
Note that this is an adapted version that fixes the problem discussed in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=2588&p=5805#p5805. As this is a user-provided code that adapted the original Dynare 3 Smets/Wouters code from the AER homepage to Dynare 4 there is no guarantee for correctness. At first sight, the decision rules seem to be the same as in the original code. Nevertheless, please be careful. Any additional insights into the correctness of the provided code are appreciated. When looking into the correctness of the code, note that a different mode-file is used than in the AER-hompage benchmark case. The benchmark mode-file is also attached.
csadjcost,6.3325,2,15,NORMAL_PDF,4,1.5;
cmap,.7652,0.01,.9999,BETA_PDF,0.5,0.2;
HouseC wrote:Hi, I was following the modifications as the attached file. However, the error on "#usmodel_stst;" seems have not be fixed. Have I missed something? Or what should I modify the code in "usmodel.mod"(attached) to modify the following error:
ERROR: usmodel.mod:80.14: syntax error, unexpected ';', expecting EQUAL
Thanks
H
@#include "usmodel_stst.mod"
#usmodel_stst;
dynare usmodel_shock_decomp
dynare inverse_gamma_specification
Users browsing this forum: No registered users and 6 guests