About this error

Error using print_info (line 51)
The Jacobian matrix evaluated at the steady state contains elements that are not real or are infinite
Error in check (line 76)
print_info(info, 0, options);
Error in izadi (line 225)
oo_.dr.eigval = check(M_,options_,oo_);

Could you show your code? This could happen because you are dividing by 0 somewhere, carefully check your code.

The kss in your parameter definitions is negative.

izadi.mod (2.4 KB)
my dynare file

Thank you for answering
The problem is that when I set kss =.65, it still does not run… this error is display

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

The rank condition ISN’T verified!

Error using print_info (line 45)
Blanchard Kahn conditions are not satisfied: indeterminacy
Error in stoch_simul (line 98)
print_info(info, options_.noprint, options_);
Error in izadi (line 235)
info = stoch_simul(var_list_);
Error in dynare (line 180)
evalin(‘base’,fname) ;

Do you have a suggestion?

Check your timing and the parameter values.

Thank you for your valuable advice
Now another problem has arisen after changing the parameters
The outputs are like this
CORRELATION OF SIMULATED VARIABLES

VARIABLE c k n q
c NaN NaN NaN NaN
k NaN NaN NaN NaN
n NaN NaN NaN NaN
q NaN NaN NaN NaN

AUTOCORRELATION OF SIMULATED VARIABLES

VARIABLE 1 2 3 4 5
c NaN NaN NaN NaN NaN
k NaN NaN NaN NaN NaN
n NaN NaN NaN NaN NaN
q NaN NaN NaN NaN NaN
Total computing time : 0h00m01s

The reason for this?

As always, it’s impossible to tell without the codes.

model1.mod (2.6 KB)

Program file
please check
Thank you

Your shock does not enter the model.

Hello again
izadi.mod (5.1 KB)
, this is my new model. Help me, why is it not running?

nss is negative. See