# Problem with QZ decomposition

**URL:** <https://forum.dynare.org/t/problem-with-qz-decomposition/28302>\
**Category:** Stochastic simulations\
**Created:** [6 March 2026 14:53 UTC](https://forum.dynare.org/t/problem-with-qz-decomposition/28302 "2026-03-06T14:53:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ikali95](https://forum.dynare.org/letter_avatar_proxy/v4/letter/i/c2a13f/32.png) [@ikali95](https://forum.dynare.org/u/ikali95)\
**Post date:** [6 March 2026 14:53 UTC](https://forum.dynare.org/t/problem-with-qz-decomposition/28302/1 "2026-03-06T14:53:42Z")

</div>

Hi all!  
Hope you are well.

I try to run a model with two sectors but I fail to produce the irfs of the system due to QZ decomposition. Does anyone experienced the same problem with a two sector economy? If yes what is your suggestion in trying to fix this issue?

Thank you in advance

Ioannis

---

<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:** [6 March 2026 15:44 UTC](https://forum.dynare.org/t/problem-with-qz-decomposition/28302/2 "2026-03-06T15:44:58Z")

</div>

Try running `model_diagnostics` in the Dynare 7 beta version (or later): [Index of /beta](https://www.dynare.org/beta/)
