Page 1 of 1
The generalized Schur
Posted:
Thu Oct 01, 2015 11:13 am
by fda
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) ;
Re: The generalized Schur
Posted:
Thu Oct 01, 2015 9:22 pm
by jpfeifer
Is there a steady state file missing? Most of your parameters are not initialized
Re: The generalized Schur
Posted:
Fri Oct 02, 2015 9:29 am
by fda
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?
Re: The generalized Schur
Posted:
Fri Oct 02, 2015 10:35 am
by jpfeifer
Your datafile must not have the same name as the mod- file
Re: The generalized Schur
Posted:
Fri Oct 02, 2015 12:08 pm
by fda
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) ;
Re: The generalized Schur
Posted:
Sun Oct 04, 2015 10:17 am
by jpfeifer
The data file is missing.
Re: The generalized Schur
Posted:
Sun Oct 04, 2015 3:56 pm
by fda
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.
Re: The generalized Schur
Posted:
Sat Oct 17, 2015 7:12 am
by jpfeifer
Please provide full calibration for the model and then use the
- Code: Select all
estimated_params_init(use_calibration);
end;