Page 1 of 1

residuals of SS equations in Bayesian estimation

PostPosted: Tue Jun 20, 2017 9:51 pm
by zmunkacsi
Hi,

When running the attached Bayesian estimation file, I receive an error message which shows that several of the residuals of the equations (in the SS) are not zero. For instance, the residuals of equations 42 and 43 are 0.094061.
However, when I only run the SS file, and save the values of all the variables in equations 42 and 43, the residuals are actually 0 (please see the attached Excel file).
Any suggestions would be more than welcome!

Thank you,
Zsuzsa

Re: residuals of SS equations in Bayesian estimation

PostPosted: Wed Jun 21, 2017 8:20 pm
by jpfeifer
Please write a proper steady state file that assures that the variables are passed back to Dynare in the correct order. An example is the
Code: Select all
NK_baseline_steady_state.m
in the Dynare examples folder

Re: residuals of SS equations in Bayesian estimation

PostPosted: Sun Jun 25, 2017 8:59 pm
by zmunkacsi
Thanks, I change the order, now it works!