# IRFs - combined effect of two shocks

**URL:** <https://forum.dynare.org/t/irfs-combined-effect-of-two-shocks/2321>\
**Category:** Dynare help (legacy posts)\
**Created:** [14 January 2012 09:27 UTC](https://forum.dynare.org/t/irfs-combined-effect-of-two-shocks/2321 "2012-01-14T09:27:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [14 January 2012 17:11 UTC](https://forum.dynare.org/t/irfs-combined-effect-of-two-shocks/2321/5 "2012-01-14T17:11:35Z")

</div>

As long as you know what you are doing, having two shocks simultaneously is no problem (and does in particular not contradict the logic of an IRF as it can be interpreted as a single new shock that hits two different variables at the same time) and can be done in Dynare. Moreover, it is a recurring theme. For a potential solution, see [[3 exogenous shocks at a time](https://forum.dynare.org/t/3-exogenous-shocks-at-a-time/1393/1)). In case you want to use two different but correlated shocks, Dynare performs a Cholesky decomposition, see [[Correlated shocks and impulse response functions](https://forum.dynare.org/t/correlated-shocks-and-impulse-response-functions/1444/1))

---

_[View the full topic](https://forum.dynare.org/t/irfs-combined-effect-of-two-shocks/2321)._
