Page 1 of 1

The steady state contains NaN or Inf

PostPosted: Wed Feb 05, 2014 6:20 am
by tahmin
Hi friends
When I run my dynare code, appear this error:

Error using print_info (line 80)
The steady state contains NaN or Inf

Error in steady (line 92)
print_info(info,options_.noprint, options_);

Error in z (line 407)
steady;

Error in dynare (line 162)
evalin('base',fname) ;

and when I write this { model_diagnostics(M_,options_,oo_)} in matlab software, appear this error
STEADY: numerical initial values or parameters incompatible with the following equations
Columns 1 through 10

1 2 3 4 5 6 7 8 9 10

Columns 11 through 20

11 12 13 14 15 17 18 19 24 26

Columns 21 through 24

27 29 30 31

Check whether your model in truly linear
model diagnostic can't obtain the steady state
model diagnostic obtains a steady state with NaNs

these errors were many, I can solve two errors in model_diagnostics(M_,options_,oo_), But I can't resolve another errors with this command. please help me to solve it.
Thanks

Re: The steady state contains NaN or Inf

PostPosted: Wed Feb 05, 2014 9:21 am
by jpfeifer
Please put
Code: Select all
resid(1);

before (!) steady. It will show you the problematic equations.
For example, equation 11
Code: Select all
pt=(1+pit)+pt(-1);

Clearly has no steady state with pt=pit=0.