# Generalized Schur (QZ) decomposition failed

**URL:** <https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287>\
**Category:** Dynare contributions and examples\
**Created:** [21 July 2013 19:18 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287 "2013-07-21T19:18:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![settler03](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@settler03](https://forum.dynare.org/u/settler03)\
**Post date:** [21 July 2013 19:18 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287/1 "2013-07-21T19:18:48Z")

</div>

Hi Dear  
i was run my code but receive this error:

??? Error using ==\> print\_info at 36  
The generalized Schur (QZ) decomposition failed. For more information, see the  
documentation for Lapack function dgges: info=13, n=11

Error in ==\> check at 76  
print\_info(info, options.noprint);

Error in ==\> menu4 at 281  
oo\_.dr.eigval = check(M\_,options\_,oo\_);

Error in ==\> dynare at 120  
evalin(‘base’,fname) ;

what i can do?  
please send your opinion.  
my file in attachment.

---

<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:** [23 July 2013 07:08 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287/2 "2013-07-23T07:08:34Z")

</div>

There is a problem with your model.

[quote]model\_diagnostic: the Jacobian of the static model is singular  
there is 1 colinear relationships between the variables and the equations  
Colinear variables:  
ner  
Colinear equations  
1 3 4 5 6 7 8 9 10 12 13 14 16 18 19 20 21 22  
[/quote]

---

<div class="post-metadata">

**Author:** ![settler03](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@settler03](https://forum.dynare.org/u/settler03)\
**Post date:** [24 July 2013 05:41 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287/3 "2013-07-24T05:41:42Z")

</div>

meany thanks for your answer. but what i can do? if i delete “ner” the problem is solve?

---

<div class="post-metadata">

**Author:** ![settler03](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@settler03](https://forum.dynare.org/u/settler03)\
**Post date:** [24 July 2013 05:46 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287/4 "2013-07-24T05:46:42Z")

</div>

when i delete “ner”, received rank condition error.

---

<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:** [24 July 2013 06:10 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287/5 "2013-07-24T06:10:43Z")

</div>

It’s hard to tell. Run

```auto

```

to potentially get an indication where the problem is. Note that this suggests that there still is an issue with the model.

---

<div class="post-metadata">

**Author:** ![settler03](https://forum.dynare.org/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@settler03](https://forum.dynare.org/u/settler03)\
**Post date:** [24 July 2013 12:21 UTC](https://forum.dynare.org/t/generalized-schur-qz-decomposition-failed/3287/6 "2013-07-24T12:21:15Z")

</div>

thanks
