Page 1 of 1

Error sparse_hessian_times_B_kronecker_C

PostPosted: Tue Aug 21, 2012 8:03 pm
by mcastillo
Hello everyone, I am working on a NK model, with some rigidities, nothing too complicated, but I realized when I am about to get 2nd order simulations, I have got a problem, unlikely when i run it for 1st order:
[color=#FF0000]?? Error using ==> mexErrCheck at 41
Error encountered in: sparse_hessian_times_B_kronecker_C.

Error in ==> dr1 at 548
mexErrCheck('sparse_hessian_times_B_kronecker_C', err);

Error in ==> resol at 147
[dr,info,M_,options_,oo_] = dr1(dr,check_flag,M_,options_,oo_);

Error in ==> stoch_simul at 66
[oo_.dr, info] = resol(oo_.steady_state,0);

Error in ==> Model_relative_prices_soa at 504
info = stoch_simul(var_list_);

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

May you help me giving a look at my code, and guide me to understand where or what the problem is: a missespecification or what. I am attaching the code, thanks a lot.

Marola

Re: Error sparse_hessian_times_B_kronecker_C

PostPosted: Tue Aug 21, 2012 11:26 pm
by jpfeifer
Sorry, but on my machine the file crashes because Dynare can't find the steady state. Please provide better starting values

Re: Error sparse_hessian_times_B_kronecker_C

PostPosted: Tue Aug 21, 2012 11:43 pm
by mcastillo
Thanks, which version of dynare you used to run my code. If i run just for 1st order approximation I didn't get any error message, so if for order=1 dynare finds a SS why it should find it for 2nd order, so i dont know why i got different message than you, in any case thanks a lot.

Re: Error sparse_hessian_times_B_kronecker_C

PostPosted: Wed Aug 22, 2012 12:11 pm
by jpfeifer
I used 4.3 with the file as posted