Page 1 of 1

question on "Input dimension error"

PostPosted: Thu Aug 19, 2010 7:02 am
by qzx
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

Re: question on "Input dimension error"

PostPosted: Thu Aug 19, 2010 9:07 am
by SébastienVillemot
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,

Re: question on "Input dimension error"

PostPosted: Thu Aug 19, 2010 10:32 am
by qzx
Hi Sébastien,

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

Best,

ZX