DSGE irf's from 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.

DSGE irf's from Bayesian estimation

Postby tomnilson40 » Mon Nov 04, 2013 12:50 am

Hello,

I am getting the DSGE irf's after estimating the model using the Bayesian method (mode_compute=6) but the problem is that eventhough the initial values are set to be equal to zero but it seems that the irf's do not start from zero but they all get back to zero!

Does it calculate a new initial value for each variable after estimation and before drawing the irf graphs?! if it does, but why they all get back to zero?!!

If I simulate the model (stoch_simul ( ...) )they all start from zero and get back to zero.


I would appreciate if anyone could help me on this.

Cheers,
Tom
tomnilson40
 
Posts: 26
Joined: Fri Aug 31, 2012 4:37 am

Re: DSGE irf's from Bayesian estimation

Postby jpfeifer » Mon Nov 04, 2013 9:29 am

If you have consumption and there is a shock, it will always move immediately. Thus, the IRFs from estimation strike me as normal. I am rather puzzled by the stoch_simul-IRFs not moving at the beginning. This could only happen if ALL your variables are predetermined.
------------
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: DSGE irf's from Bayesian estimation

Postby tomnilson40 » Mon Nov 04, 2013 10:27 am

Dear jpfeifer,

Thank you very much for your prompt reply as always.

Yes, I have consumption in the model and a couple of jumper variables. But let me ask two more detailed and maybe simpler questions to clarify my previous message:

1) At time zero in IRFs from estimation, should the value be equal to the initial value determined in the model (in my case equal to zero) or the shock affects the variable exactly in time zero and thus changes the value to something else other than the determined initial value?

2) Let say that I estimate the model after making sure that simulation works. If I replace the related parameters with the estimated parameters and run the stochastic simulation (“stoch_simul”), should I get the same results as the dsge IRFs after estimation (using “bayesian_irf”)?

Thank you very much again for your time.
Cheers
tomnilson40
 
Posts: 26
Joined: Fri Aug 31, 2012 4:37 am

Re: DSGE irf's from Bayesian estimation

Postby jpfeifer » Mon Nov 04, 2013 11:51 am

1) It's the latter. The IRFs are not that at the first plotted period we are in steady state and then the shock hits. Rather, the first period with the shock is plotted.
2) No. They are not exactly the same. The stoch_simul IRF will be at the mean parameters while the Bayesian IRFs are mean IRFs integrated over the posterior.
------------
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: DSGE irf's from Bayesian estimation

Postby tomnilson40 » Mon Nov 04, 2013 12:23 pm

Dear jpfeifer,

I do appreciate your responses to my questions. It helped me a lot.

Have a great day!

Cheers,
Tom
tomnilson40
 
Posts: 26
Joined: Fri Aug 31, 2012 4:37 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests