# Bayesian IRF Matching Estimation - Posteriors equal to Priors

**URL:** <https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279>\
**Category:** SMM/GMM/IRF-Matching\
**Created:** [20 August 2024 13:00 UTC](https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279 "2024-08-20T13:00:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samer\_Shousha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@Samer\_Shousha](https://forum.dynare.org/u/Samer_Shousha)\
**Post date:** [20 August 2024 13:00 UTC](https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279/1 "2024-08-20T13:00:08Z")

</div>

Dear all,

I am trying to estimate some of the parameters of my model using impulse response function matching. However, even when I isolate the estimation to only one of the parameters, the priors and posteriors are almost identical, which seems very odd beacuse it would mean that all parameters are not well identified. Am I doing anything wrong? In a previous version of the code I received the error message below:

The steady state file internally changed the values of the following estimated parameters:  
b  
This will override the parameter values and may lead to wrong results.

But after changing the steady state file, I don’t get any error message.

Attached are two versions of the file trying to estimate only ETA or PHI (the other priors are commmented out).

Thanks for the help.

[IRF\_PVAR\_EM.mat](https://forum.dynare.org/uploads/short-url/jnagL8YdDVbopHk1ISIuR5J4xO4.mat) (10.9 KB)  
[MCBB\_BIRF\_EM\_ETA.mod](https://forum.dynare.org/uploads/short-url/j3pcbGF7g4WQRptlwOyMQmIHrCd.mod) (10.1 KB)  
[MCBB\_BIRF\_EM\_ETA\_steadystate.m](https://forum.dynare.org/uploads/short-url/9DCdYB3t2i3GYjWR03ud3hyUnAu.m) (5.4 KB)  
[MCBB\_BIRF\_EM\_PHI.mod](https://forum.dynare.org/uploads/short-url/pT8KuZuXwig3fOas36FqKF4wVoK.mod) (10.1 KB)  
[MCBB\_BIRF\_EM\_PHI\_steadystate.m](https://forum.dynare.org/uploads/short-url/hPKq3Wn49bDwEvNna1M1RASypli.m) (5.4 KB)

---

<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:** [20 August 2024 14:59 UTC](https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279/2 "2024-08-20T14:59:01Z")

</div>

From what I can see, your objective function is very insensitive to changes in `PHI`. If I center `PHI` at 2 instead of 10, the objective function hardly changes. That should explain the issue.

---

<div class="post-metadata">

**Author:** ![Samer\_Shousha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@Samer\_Shousha](https://forum.dynare.org/u/Samer_Shousha)\
**Post date:** [20 August 2024 15:25 UTC](https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279/3 "2024-08-20T15:25:13Z")

</div>

Thanks, but this happens also with all the other parameters, I tried each one separetely and get the same issue, it doesn~t make sense for me, have you seen something like this before? Thanks

---

<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:** [21 August 2024 11:42 UTC](https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279/4 "2024-08-21T11:42:51Z")

</div>

You should try to check manually how the IRFs change when you change the parameters. That may give you an indication.

---

<div class="post-metadata">

**Author:** ![Samer\_Shousha](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@Samer\_Shousha](https://forum.dynare.org/u/Samer_Shousha)\
**Post date:** [21 August 2024 18:47 UTC](https://forum.dynare.org/t/bayesian-irf-matching-estimation-posteriors-equal-to-priors/26279/5 "2024-08-21T18:47:33Z")

</div>

Thanks, it looks like if a re-scale the IRFs I am able to estimate the model. Thanks for your help!
