# ZLB with OCCBIN

**URL:** <https://forum.dynare.org/t/zlb-with-occbin/15297>\
**Category:** Dynare help (legacy posts)\
**Created:** [2 March 2020 06:51 UTC](https://forum.dynare.org/t/zlb-with-occbin/15297 "2020-03-02T06:51:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![songyao](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/f6c823/32.png) [@songyao](https://forum.dynare.org/u/songyao)\
**Post date:** [2 March 2020 06:51 UTC](https://forum.dynare.org/t/zlb-with-occbin/15297/1 "2020-03-02T06:51:48Z")

</div>

hi, when I use the occbin toolbox to solve ZLB, my model is a simple NK model, the model is set to linear, so that my steady state value is 0, and the impact of the variables in the previous periods are 0. I think something is wrong, but I dont know where can I modify? What should I do? I see that the code provided by the author is non-linear, so adding a steady state value can draw a normal graph.  
Many 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:** [2 March 2020 09:16 UTC](https://forum.dynare.org/t/zlb-with-occbin/15297/2 "2020-03-02T09:16:38Z")

</div>

What exactly is your problem?

---

<div class="post-metadata">

**Author:** ![songyao](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/f6c823/32.png) [@songyao](https://forum.dynare.org/u/songyao)\
**Post date:** [2 March 2020 09:39 UTC](https://forum.dynare.org/t/zlb-with-occbin/15297/3 "2020-03-02T09:39:39Z")

</div>

Deer jpfeifer:  
 ![image](https://forum.dynare.org/uploads/default/original/2X/b/b86573015ce61c84ce950f79d70a65839275e806.png)  
like this image, the shock of all variables starts at 0. I referenced the occbin source code，the graph code is “plot(BETA\*(ut\_p+ut\_ss),‘k’)”, author added steady state value, So his graph like ![image](https://forum.dynare.org/uploads/default/original/2X/d/deee2b51b82ce06b1c1d122f2ee1833865dd92ab.png) . But my model is linear, so the steady state value is zero.  
Above all, I don’t know how to explain my graphics, I think something is wrong in my code. Maybe I have not understood the code.  
Many 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:** [2 March 2020 09:47 UTC](https://forum.dynare.org/t/zlb-with-occbin/15297/4 "2020-03-02T09:47:55Z")

</div>

There is nothing wrong. It is just a matter of expressing the same IRF differently. Also, for a linearized model, you need to know the steady state.
