# Correlation between two exogenous variables

**URL:** https://forum.dynare.org/t/correlation-between-two-exogenous-variables/24996
**Category:** Stochastic simulations
**Created:** [19 January 2024 21:38 UTC](https://forum.dynare.org/t/correlation-between-two-exogenous-variables/24996 "2024-01-19T21:38:06Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [22 January 2024 08:27 UTC](https://forum.dynare.org/t/correlation-between-two-exogenous-variables/24996/2 "2024-01-22T08:27:57Z")

</div>

Please have a look at

> [@IRFs - combined effect of two shocks](https://forum.dynare.org/t/irfs-combined-effect-of-two-shocks/2321/5):
>
> 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 i…](https://forum.dynare.org/t/correlated-shocks-and-impulse-response-functions/1444/1)

---

_[View the full topic](https://forum.dynare.org/t/correlation-between-two-exogenous-variables/24996)._
