# Stoch\_simul after Bayesian Estimation - Joint or Marginal Mode?

**URL:** <https://forum.dynare.org/t/stoch-simul-after-bayesian-estimation-joint-or-marginal-mode/26449>\
**Category:** ML/Bayesian estimation\
**Created:** [19 September 2024 06:44 UTC](https://forum.dynare.org/t/stoch-simul-after-bayesian-estimation-joint-or-marginal-mode/26449 "2024-09-19T06:44:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jmarlow](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/f0a364/32.png) [@Jmarlow](https://forum.dynare.org/u/Jmarlow)\
**Post date:** [19 September 2024 06:44 UTC](https://forum.dynare.org/t/stoch-simul-after-bayesian-estimation-joint-or-marginal-mode/26449/1 "2024-09-19T06:44:13Z")

</div>

Hello,

Following Bayesian estimation in Dynare, I understand that using the following allows you to estimate the impulse responses by fixing the parameter values at their posterior mode:

xparam = get\_posterior\_parameters(‘mode’,M\_,estim\_params\_,oo\_,options\_);  
stoch\_simul(order=1,irf=20);

Are the parameter values used the ones that achieve the mode of the joint distribution, or the mode of the marginal distribution for each parameter?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [19 September 2024 07:00 UTC](https://forum.dynare.org/t/stoch-simul-after-bayesian-estimation-joint-or-marginal-mode/26449/2 "2024-09-19T07:00:16Z")

</div>

The mode if for the joint distribution. The mean would be the mean of the marginal distributions for each parameter.

---

<div class="post-metadata">

**Author:** ![Jmarlow](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/f0a364/32.png) [@Jmarlow](https://forum.dynare.org/u/Jmarlow)\
**Post date:** [19 September 2024 07:13 UTC](https://forum.dynare.org/t/stoch-simul-after-bayesian-estimation-joint-or-marginal-mode/26449/3 "2024-09-19T07:13:14Z")

</div>

Great, thank you!
