# Advice on Monetary Policy and Mortgage restraint Mechanism

**URL:** <https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640>\
**Category:** Stochastic simulations\
**Created:** [23 June 2023 10:04 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640 "2023-06-23T10:04:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenzhuo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@wenzhuo](https://forum.dynare.org/u/wenzhuo)\
**Post date:** [23 June 2023 10:04 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/1 "2023-06-23T10:04:11Z")

</div>

Hi，  
I built a simple NK-DSGE model and have introduced mortgage constraints following the approach of Kiyotaki & Moore (1997). In my model, the loan for an entrepreneur in period t is restricted by the total assets held in period t+1, denoted as K. The specific model and corresponding steady-state solution can be found in the attachment.

However, the impulse response functions of my model under monetary policy shocks exhibit an odd feature that doesn’t appear in the same steps of articles studying the same content: There is a significant and abrupt change between the first and second periods in terms of aggregate output, household consumption, and labor supplied by households, as illustrated below.

As this feature looked so wrong, I had to check my operations and thinking. Given your experience, could you give me some suggestions on whether there might be issues with the structural setup of my model or if there are errors in my parameter selection? Thanks!  
[A11\_get\_Calculate\_diff.m](https://forum.dynare.org/uploads/short-url/louGi0v8mNJM2jwXQyLLE6IWeBw.m) (172 Bytes)  
[A11\_get\_variables1.m](https://forum.dynare.org/uploads/short-url/21cmVyme6ITfp8sHYAo02u5LgRu.m) (733 Bytes)  
Uploading: model.mod…  
[model\_steadystate.m](https://forum.dynare.org/uploads/short-url/tLgl1kpPKjsvGR30uiEQG0x4gF9.m) (1.0 KB)  
[untitled.fig](https://forum.dynare.org/uploads/short-url/nTt2cT3LCe9Ba5VVSJ8K159ffpw.fig) (97.6 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:** [23 June 2023 16:17 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/2 "2023-06-23T16:17:28Z")

</div>

The main file did not correctly upload.

---

<div class="post-metadata">

**Author:** ![wenzhuo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@wenzhuo](https://forum.dynare.org/u/wenzhuo)\
**Post date:** [23 June 2023 17:36 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/4 "2023-06-23T17:36:52Z")

</div>

[model.mod](https://forum.dynare.org/uploads/short-url/nwmKO8yL98jkagDV81ATLbTRjze.mod) (2.6 KB)  
I’m very sorry. model.mod couldn’t upload all the time. I changed the file suffix to .m and uploaded it successfully. You can change its suffix to .mod and then run it.

---

<div class="post-metadata">

**Author:** ![wenzhuo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@wenzhuo](https://forum.dynare.org/u/wenzhuo)\
**Post date:** [27 June 2023 04:41 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/5 "2023-06-27T04:41:13Z")

</div>

Dear Mr. Pfeifei, my mod file has been uploaded. I sincerely look forward to your reply. Thank you : )

---

<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:** [3 July 2023 19:52 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/6 "2023-07-03T19:52:15Z")

</div>

This IRFs seem to follow the movement of the price of capital Q\_t. It could be a timing error, but it could also be due to the movement of the real interest rate. Have you tried different Taylor rule parameterizations?

---

<div class="post-metadata">

**Author:** ![wenzhuo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@wenzhuo](https://forum.dynare.org/u/wenzhuo)\
**Post date:** [5 July 2023 15:30 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/7 "2023-07-05T15:30:27Z")

</div>

Thank you very much for your reply. I have tried to take various values of several parameters of the taylor rule in the model, but it will not change the simulation results.

---

<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:** [5 July 2023 17:07 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/8 "2023-07-05T17:07:46Z")

</div>

Then it’s either a timing issue or a feature of the model.

---

<div class="post-metadata">

**Author:** ![wenzhuo](https://forum.dynare.org/letter_avatar_proxy/v4/letter/w/f9ae1b/32.png) [@wenzhuo](https://forum.dynare.org/u/wenzhuo)\
**Post date:** [14 July 2023 18:25 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/9 "2023-07-14T18:25:36Z")

</div>

Thank you very much for your reply. I’ve been trying to find timing issue and analyze the feature of the model these days.But I really don’t see what’s wrong. What is even more sad is that the model I built is basically the same as that described in an article. But the pulse image provided by the author did not encounter the problem I encountered.

---

<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:** [17 July 2023 21:56 UTC](https://forum.dynare.org/t/advice-on-monetary-policy-and-mortgage-restraint-mechanism/22640/10 "2023-07-17T21:56:39Z")

</div>

Then you should try to ask the authors for their code.
