question on "Input dimension error"

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.

question on "Input dimension error"

Postby qzx » Thu Aug 19, 2010 7:02 am

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
Attachments
mfmodel4.mod
(919 Bytes) Downloaded 82 times
qzx
 
Posts: 5
Joined: Thu Aug 19, 2010 6:54 am

Re: question on "Input dimension error"

Postby SébastienVillemot » Thu Aug 19, 2010 9:07 am

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,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: question on "Input dimension error"

Postby qzx » Thu Aug 19, 2010 10:32 am

Hi Sébastien,

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

Best,

ZX
qzx
 
Posts: 5
Joined: Thu Aug 19, 2010 6:54 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests