It's a odd problem

hi all,
I don’t know what lead this problem to hit. I just work my model with dynare 4.2.1. Following is dynare error log and attachment is my mod file. I appreciate anyone to give some suggestions. thanks again.

There are 6 eigenvalue(s) larger than 1 in modulus
for 6 forward-looking variable(s)

The rank conditions ISN’T verified!

warning: matrix singular to machine precision, rcond = 0
warning: called from
dr1 at line 411 column 12
resol at line 147 column 32
stoch_simul at line 66 column 21
ndsge at line 258 column 6
dynare at line 132 column 1
warning: attempting to find minimum norm solution
warning: dgelsd: rank deficient 6x6 matrix, rank = 4
warning: matrix singular to machine precision, rcond = 7.66373e-044
warning: attempting to find minimum norm solution
warning: dgelsd: rank deficient 9x9 matrix, rank = 7
warning: matrix singular to machine precision, rcond = 0
warning: attempting to find minimum norm solution
warning: dgelsd: rank deficient 23x23 matrix, rank = 18
error: subscript indices must be either positive integers or logicals.
error: called from:
error: c:\dynare\4.2.1\matlab\dr1.m at line 550, column 32
error: c:\dynare\4.2.1\matlab\resol.m at line 147, column 32
error: c:\dynare\4.2.1\matlab\stoch_simul.m at line 66, column 21
ndsge.mod (2.2 KB)

My first guess is that there is a problem with the steady state. For example, M looks like it is initialized to 0, but it can never be 0. As a consequence, Dynare runs into trouble with numerical accuracy. It may well be that the numerical steady state solver found a local minimum that is not the actual true steady state.

Consider e.g. the equations:

and

The first one implies that M=0 in steady state, but that results in a division by 0 in the second equation. Could it be that this process should be defined in logs?

[quote=“jpfeifer”]My first guess is that there is a problem with the steady state. For example, M looks like it is initialized to 0, but it can never be 0. As a consequence, Dynare runs into trouble with numerical accuracy. It may well be that the numerical steady state solver found a local minimum that is not the actual true steady state.

Consider e.g. the equations:

and

The first one implies that M=0 in steady state, but that results in a division by 0 in the second equation. Could it be that this process should be defined in logs?[/quote]

jpfeifer,thanks for you reply. But I don’t understand your means. do you advice log second equation?

I don’t know what M is, but the equation

implies that M has steady state 0 (and if delta_m is larger than 0 that the process is unstable). However

implies that M can never be 0 as you divide by it. Hence, my guess was that the first expression is a process in logs and you have to put exp(M) in the second equation. However, without knowing your model this is impossible to tell. I only know for sure that your current model specification is wrong.

[quote=“jpfeifer”]I don’t know what M is, but the equation

implies that M has steady state 0 (and if delta_m is larger than 0 that the process is unstable). However

implies that M can never be 0 as you divide by it. Hence, me guess was that the first expression is a process in logs and you have to put exp(M) in the second equation. However, without knowing your model this is impossible to tell. I only know for sure that your current model specification is wrong.[/quote]

thanks, I understand it. thanks again.