Problem in simulation

Dear Michel and all,

I’m using Dynare for simulating a stochastic model (real business cycle model with labor market frictions). I’ve stationarized the model and calculated the steady state by hand, and the rank condition is also verified. However, it shows in the command window the following info:

*Warning: Matrix is close to singular or badly scaled.
Results may be inaccurate. RCOND = 8.761798e-021.

In dr1 at 352
In resol at 64
In stoch_simul at 24
In fullmodel_stationary_no_indbarg at 256
In dynare at 49
??? ²œÍAt QuasiTriangular.cpp:128:Matrix is not quasi-triangular

Error in ==> dr1 at 516
dr.ghxx = gensylv(2,A,B,C,D);

Error in ==> resol at 64
[dr,info] = dr1(dr,check_flag);

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

Error in ==> fullmodel_stationary_no_indbarg at 256

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

I tried also to rescale my steady state, but still it doesn’t work. Do you have any suggestions? Thanks in advance!


I need to see the *.mod file



Hi Mr Juillard,

Could you help me , please ?
I have a similar message, some of the theorical moments seem not properly defined (NaN).
Here is my mod file.

MME0_steadystate.m (2.22 KB)
MME0.mod (10.3 KB)