Page 1 of 1

"The generalized Schur (QZ) decomposition failed"...

PostPosted: Mon Nov 11, 2013 11:48 am
by Luciano
Dear all,

I am trying to replicate the Milani and Treadwell (2012) JMCB paper " The effects of monetary policy "news" and "surprises" without success.

The error that I get is:

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

Error in ==> check at 51
print_info(info, options_.noprint);

Error in ==> news at 353
check;

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

Could anyone please have a look at the codes?

Thanks

Luciano

Re: "The generalized Schur (QZ) decomposition failed"...

PostPosted: Mon Nov 11, 2013 3:05 pm
by jpfeifer
Please bring your mod-file in order. initval belongs before check. You should also put steady before check; and end the initval-block correctly with an end;

The problem with your file is that the parameter tilda uses sigma, but this is only defined later. steady will tell you this:
Warning: Some of the parameters have no value (tilda) when using steady. If these parameters are not initialized in a steadystate file, Dynare may not be able to solve the model...
> In test_for_deep_parameters_calibration at 46
In steady at 33
In News at 408
In dynare at 147

Re: "The generalized Schur (QZ) decomposition failed"...

PostPosted: Tue Nov 12, 2013 10:37 am
by Luciano
Dear jpfeifer,

Many thanks for your prompt reply.

I should have mentioned that I am a novice in dynare and I apologize for the messy codes!

Best

L