residuals of SS equations in Bayesian estimation

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.

residuals of SS equations in Bayesian estimation

Postby zmunkacsi » Tue Jun 20, 2017 9:51 pm

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
Last edited by zmunkacsi on Sun Jun 25, 2017 9:00 pm, edited 1 time in total.
zmunkacsi
 
Posts: 2
Joined: Tue Jun 20, 2017 9:18 pm

Re: residuals of SS equations in Bayesian estimation

Postby jpfeifer » Wed Jun 21, 2017 8:20 pm

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

Re: residuals of SS equations in Bayesian estimation

Postby zmunkacsi » Sun Jun 25, 2017 8:59 pm

Thanks, I change the order, now it works!
zmunkacsi
 
Posts: 2
Joined: Tue Jun 20, 2017 9:18 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 12 guests