The steady state contains NaN or Inf

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

The steady state contains NaN or Inf

Postby tahmin » Wed Feb 05, 2014 6:20 am

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
Attachments
z.mod
(2.16 KiB) Downloaded 319 times
tahmin
 
Posts: 37
Joined: Wed Dec 04, 2013 9:48 pm

Re: The steady state contains NaN or Inf

Postby jpfeifer » Wed Feb 05, 2014 9:21 am

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.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests