Error sparse_hessian_times_B_kronecker_C

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.

Error sparse_hessian_times_B_kronecker_C

Postby mcastillo » Tue Aug 21, 2012 8:03 pm

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
Attachments
Model_relative_prices_soa.mod
(10.44 KiB) Downloaded 51 times
parameter_ppi_cpi_peg.m
(1.35 KiB) Downloaded 43 times
mcastillo
 
Posts: 5
Joined: Wed Sep 28, 2011 8:01 pm

Re: Error sparse_hessian_times_B_kronecker_C

Postby jpfeifer » Tue Aug 21, 2012 11:26 pm

Sorry, but on my machine the file crashes because Dynare can't find the steady state. Please provide better starting values
------------
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: Error sparse_hessian_times_B_kronecker_C

Postby mcastillo » Tue Aug 21, 2012 11:43 pm

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.
mcastillo
 
Posts: 5
Joined: Wed Sep 28, 2011 8:01 pm

Re: Error sparse_hessian_times_B_kronecker_C

Postby jpfeifer » Wed Aug 22, 2012 12:11 pm

I used 4.3 with the file as posted
------------
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: Google [Bot] and 4 guests