Question on "Input dimension error"

Dear All,

I get the following warnings when running my model:

??? Error using ==> sparse_hessian_times_B_kronecker_C
Input dimension error!

Error in ==> dr1 at 505
rhs = -sparse_hessian_times_B_kronecker_C(hessian,zx);

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

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

Error in ==> mfmodel4 at 166
info = stoch_simul(var_list_);

Error in ==> dynare at 132
evalin(‘base’,fname) ;

Dynare gives the steady state values and the BK condition is verified. However, it stops there. I am a beginner of dynare, so I really need your help! Thank you in advance.

Best,

Zongxin
mfmodel4.mod (919 Bytes)

Hi,

I admit that the error message is not very explicit.

I think it is related to some misspecification in your model: the endogenous variable “ne” only appears at date t-1, but not at date t neither at date t+1. Hence this variable is not determined. You should probably fix that before going further.

Best,

Hi Sébastien,

Thanks for the reply.I will check my specification then.

Best,

ZX