# Occbin and expected shocks

**URL:** <https://forum.dynare.org/t/occbin-and-expected-shocks/27311>\
**Category:** Occbin\
**Created:** [14 March 2025 11:01 UTC](https://forum.dynare.org/t/occbin-and-expected-shocks/27311 "2025-03-14T11:01:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victory10](https://forum.dynare.org/letter_avatar_proxy/v4/letter/v/8dc957/32.png) [@Victory10](https://forum.dynare.org/u/Victory10)\
**Post date:** [14 March 2025 11:01 UTC](https://forum.dynare.org/t/occbin-and-expected-shocks/27311/1 "2025-03-14T11:01:28Z")

</div>

Hello! I have a question regarding OccBin: why is it not possible to apply expected shocks? I noticed that the algorithm does not work in this case, whereas in perfect foresight models, both expected and unexpected shocks can be specified. I would greatly appreciate it if you could help me understand the reasoning behind this, both theoretically and in practice. Thank you in advance for your time and explanation!

---

<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:** [16 March 2025 20:14 UTC](https://forum.dynare.org/t/occbin-and-expected-shocks/27311/2 "2025-03-16T20:14:01Z")

</div>

Conceptually, that would be straightforward to do with news shocks, which simply augment the state space. But there is no Dynare syntax for doing that automatically and the existing commands do not work with OccBin.

---

<div class="post-metadata">

**Author:** ![Victory10](https://forum.dynare.org/letter_avatar_proxy/v4/letter/v/8dc957/32.png) [@Victory10](https://forum.dynare.org/u/Victory10)\
**Post date:** [19 March 2025 12:24 UTC](https://forum.dynare.org/t/occbin-and-expected-shocks/27311/3 "2025-03-19T12:24:36Z")

</div>

Thank you so much!
