# Gerali et al. (2010): Credit and banking in a DSGE model of Euro Area

**URL:** <https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716>\
**Category:** Replication Attempts\
**Created:** [24 April 2018 15:27 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716 "2018-04-24T15:27:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@Jan](https://forum.dynare.org/u/Jan)\
**Post date:** [24 April 2018 15:27 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716/1 "2018-04-24T15:27:02Z")

</div>

Dear friends,

I would like to kindly ask you for a help. I am currently working on the model derived in Gerali et al. (2010). I have the replicated code from the MMDB. I do understand it quite well.

However, I do not understand where to get the initial values of the variables. I can compute just some of them (such as interest rates). Please can you help me in this regard? Is there anybody familiar with this model and can provide with some guidance on the initial values?

Thank you very much for helping me.

Have a nice day

Jan

---

<div class="post-metadata">

**Author:** ![hlt215](https://forum.dynare.org/letter_avatar_proxy/v4/letter/h/3bc359/32.png) [@hlt215](https://forum.dynare.org/u/hlt215)\
**Post date:** [24 April 2018 15:41 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716/2 "2018-04-24T15:41:36Z")

</div>

You compute the steady state and use it as initial values. To solve for the steady state you have to take the model equations, remove any time indexation and find each variable as a function of the parameters only. Then use their solutions to initiate your variables.

---

<div class="post-metadata">

**Author:** ![Jan](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@Jan](https://forum.dynare.org/u/Jan)\
**Post date:** [24 April 2018 15:57 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716/3 "2018-04-24T15:57:58Z")

</div>

Thank you for reply. This is what I exactly do. However, it seems that some of the values are set purely numerically - not computed based on the steady states relations.

That is why I have this problem. Maybe it is just my inability. Therefore, I am asking for a help.

---

<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:** [28 April 2018 16:26 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716/4 "2018-04-28T16:26:05Z")

</div>

Why are you interested in initial values? If you are able to compute the steady state analytically, you should always use that info and forget about `initval`.

---

<div class="post-metadata">

**Author:** ![Jan](https://forum.dynare.org/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@Jan](https://forum.dynare.org/u/Jan)\
**Post date:** [30 April 2018 09:44 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716/5 "2018-04-30T09:44:56Z")

</div>

Dear Johannes,

I am interested in initial values because I want to replicate the model and use it for an analysis of another country. Therefore, I need different steady state of the model than for the euro area. The problem is that I cannot compute the steady states. I can express just few variables (in st. st.) as parameters of the model. And then it seems that certain values of initial values are assigned numerically. But I do not know how to assign them.

Jan

---

<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 May 2018 12:34 UTC](https://forum.dynare.org/t/gerali-et-al-2010-credit-and-banking-in-a-dsge-model-of-euro-area/11716/6 "2018-05-03T12:34:32Z")

</div>

There is no good rule for this. Often it is trial and error. My guess is that the values for the euro are should work in most cases as the steady state in many models is rather similar. A lot of parameters mostly affects the dynamics.
