Page 1 of 1

MJDGGES returns the following error code: 39

PostPosted: Sun Aug 14, 2011 12:18 pm
by zoinkata17
Hello,
I try to run a linearized version of a financial frictions open economy DSGE model. However, I persistently get the following series of error messages:
??? Error using ==> print_info at 36
MJDGGES returns the following error code: 39

Error in ==> check at 51
print_info(info, options_.noprint);

Error in ==> intl_0812 at 734
check;

Error in ==> dynare at 132
evalin('base',fname) ;
I read some other posts on the forum and tried debuging. The problem seems to be that one of my eigenvalues contains a NAN.
I checked that I have declared and initialized all the steady state variables.
I don't know what the problem is. Can anyone help me?
I have posted the mod file and a text file containing the values of my eigenvalues.
Thank you
I would really appreciate your help.

Re: MJDGGES returns the following error code: 39

PostPosted: Mon Aug 15, 2011 8:19 am
by jpfeifer
Using model diagnostics, i.e.
Code: Select all
 model_diagnostics(M_,options_,oo_)
results in
model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
Hb
Colinear equations
51 53 54


Hence, there seems to be one redundant equation.

Re: MJDGGES returns the following error code: 39

PostPosted: Mon Aug 15, 2011 8:22 am
by zoinkata17
Thank you very much. Now I know in what direction to work in order to fix this.
Have a great day.