The generalized Schur (QZ)

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

The generalized Schur (QZ)

Postby jocash » Fri Jun 27, 2014 8:58 am

Hello,

When i'm trying to run my Dynare code i get the following error:

Error using print_info at 36
The generalized Schur (QZ) decomposition failed. For more information, see the documentation for Lapack function
dgges: info=20, n=20

Error in check at 76
print_info(info, options.noprint);

Error in linear_u at 312
oo_.dr.eigval = check(M_,options_,oo_);

Error in ==> dynare at 235
evalin('base',fname) ;

What does it mean ? is it a colinearity problem or other else ? Can you help me please?
Attachments
model.mod
(7.59 KiB) Downloaded 145 times
jocash
 
Posts: 2
Joined: Fri Jun 27, 2014 8:49 am

Re: The generalized Schur (QZ)

Postby jpfeifer » Fri Jun 27, 2014 9:38 am

Try to execute the Matlab code before the model block (you will need to replace the // comments with % comments). When doing so, you will see that when computing
Code: Select all
I_ss = delta*K_ss; //(6)

that K_ss has not yet been defined.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: The generalized Schur (QZ)

Postby jocash » Fri Jun 27, 2014 12:08 pm

Thanks for your rapid reply.
I just need to replace the // comments with % comments ? I did that but nothing seems change.
Attachments
modela.mod
(7.83 KiB) Downloaded 138 times
jocash
 
Posts: 2
Joined: Fri Jun 27, 2014 8:49 am

Re: The generalized Schur (QZ)

Postby jpfeifer » Fri Jun 27, 2014 1:43 pm

The replacing is only for you to be able to execute the code in Matlab by using "Evaluate selection" or F9. You need to fix the circular definition of your steady state values before the model block.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 1 guest