Hi.

After estimation of a DSGE model in dynare, we can obtain impulse response functions via bayesian_irf option in estimation(…) command or we can use stoch_simul(…) command after estimation(…) command to obtain impulse response functions. Bayesian impulse response functions are based on the posterior mean, but my main question is that is there any difference between them? between these two different ways for obtaining of the IRFs ?

I did not understand well.Can you explain more about Bayesian IFRs difference between estimation(…) command and stoch_simul(…) command after MCMC. these ifrs are similar but not identical.

It’s about Jensen’s Inequality. Denote the IRF at parameter \theta_i with IRF(\theta_i) with N being the number of MCMC draws. Then

\frac{1}{N}\sum_{i=1}^N IRF(\theta_i)\neq IRF(\frac{1}{N}\sum_{i=1}^N \theta_i)

The first object is the mean IRF generated by `estimation, while the second object is the IRF at the parameter mean generated by `

stoch_simul`.

Thank you so much professor.

When we want to obtain impulse response functions in a DSGE model after estimation, which of these irfs is better to report in our scientific article?

There is no general answer. It’s a matter of preference. If you want to convey a measure of uncertainty, then you need to use the Bayesian ones.

Thank you so much professor for your helpful comments.