The generalized Schur

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

Postby fda » Thu Oct 01, 2015 11:13 am

Hello everybody,

Is there anybody who can help me please?I am trying to run the code I attach,but I get the following error message:
??? Error using ==> print_info at 36
The generalized Schur (QZ) decomposition failed. For more information, see the
documentation for Lapack function dgges:info=15, n=15
Error in ==> check at 76
print_info(info, options.noprint);

Error in ==> estimation3 at 453
oo_.dr.eigval = check(M_,options_,oo_);

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
estimation3.mod
(6.2 KiB) Downloaded 125 times
fda
 
Posts: 12
Joined: Sun Jul 12, 2015 7:45 am

Re: The generalized Schur

Postby jpfeifer » Thu Oct 01, 2015 9:22 pm

Is there a steady state file missing? Most of your parameters are not initialized
------------
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

Postby fda » Fri Oct 02, 2015 9:29 am

Thanks,now I haven't any error, but when I run the model, it ask me the option, and I write 2, then it plot the figure of the prior,but then ask me the option again, and it plot the figure of the prior again and this chain repeat.what's the problem of my model?
Attachments
estimation3.mod
(6.17 KiB) Downloaded 138 times
fda
 
Posts: 12
Joined: Sun Jul 12, 2015 7:45 am

Re: The generalized Schur

Postby jpfeifer » Fri Oct 02, 2015 10:35 am

Your datafile must not have the same name as the mod- file
------------
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

Postby fda » Fri Oct 02, 2015 12:08 pm

Thanks a lot.but I have another problem with my code. Now I get the following error message:
??? Error using ==> schur
Input to SCHUR must not contain NaN or Inf.

Error in ==> lyapunov_symm at 120
[U,T] = schur(a);

Error in ==> dsge_likelihood at 351
Pstar = lyapunov_symm(T,R*Q*R',DynareOptions.qz_criterium,DynareOptions.lyapunov_complex_threshold);

Error in ==> initial_estimation_checks at 47
[fval,junk1,junk2,a,b,c,d] =
feval(objective_function,xparam1,DynareDataset,DynareOptions,Model,EstimatedParameters,BayesInfo,DynareResults);

Error in ==> dynare_estimation_1 at 169
oo_ = initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> estimation3 at 508
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;
Attachments
estimation3.mod
(6.17 KiB) Downloaded 127 times
fda
 
Posts: 12
Joined: Sun Jul 12, 2015 7:45 am

Re: The generalized Schur

Postby jpfeifer » Sun Oct 04, 2015 10:17 am

The data file is missing.
------------
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

Postby fda » Sun Oct 04, 2015 3:56 pm

My data file and code file are in the one folder. I don't know what's the problem. I run the model again with the data file in one folder, but again I get the same error message. I attach the data and code file.
Thanks for your help.
Attachments
data3.m
(3.87 KiB) Downloaded 159 times
estimation3.mod
(6.17 KiB) Downloaded 135 times
fda
 
Posts: 12
Joined: Sun Jul 12, 2015 7:45 am

Re: The generalized Schur

Postby jpfeifer » Sat Oct 17, 2015 7:12 am

Please provide full calibration for the model and then use the
Code: Select all
estimated_params_init(use_calibration);
end;
------------
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 help

Who is online

Users browsing this forum: No registered users and 3 guests

cron