Input to SVD must not contain NaN or Inf. Error

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.

Input to SVD must not contain NaN or Inf. Error

Postby settler03 » Wed Oct 23, 2013 5:23 pm

Hi all Dear
I have problem. help if anybody can solve it.
when i run my code, i receive following error:

Input to EIG must not contain NaN or Inf.

and when i use command : model_diagnostics(M_,options_,oo_)
i see :

??? Error using ==> svd
Input to SVD must not contain NaN or Inf.

my code in attachment.
please help if you can.
Best Regards
settler03
 
Posts: 17
Joined: Wed Nov 07, 2012 7:16 pm

Re: Input to SVD must not contain NaN or Inf. Error

Postby jpfeifer » Wed Oct 23, 2013 6:12 pm

With the recent snapshot Dynare says
Some of the parameters have no value (rho_p_f) when using steady. If these parameters are not initialized in a steadystate file, Dynare may not
be able to solve the model.

STEADY: numerical initial values or parameters incompatible with the following equations
28

Check whether your model in truly linear

If you initialize rho_p_f the file runs. However, there is still an issue with the Blanchard Kahn conditions, most probably a timing issue.
------------
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

Re: Input to SVD must not contain NaN or Inf. Error

Postby settler03 » Thu Oct 24, 2013 7:07 am

Dear jpfeifer
Many thanks. when i initialized rho_p_f, this error eliminate. but Blanchard khan condition not verified. Guess which one has a problem?
whit best
settler03
 
Posts: 17
Joined: Wed Nov 07, 2012 7:16 pm

Re: Input to SVD must not contain NaN or Inf. Error

Postby selima » Fri Feb 07, 2014 6:53 pm

The command model_diagnostics(M_,options_,oo_) does not work for me in the command window . Should I upgrade dynare version? thank you for your answer
selima
 
Posts: 46
Joined: Thu Jan 10, 2013 5:13 pm

Re: Input to SVD must not contain NaN or Inf. Error

Postby jpfeifer » Fri Feb 07, 2014 6:58 pm

What do you mean with "Does not work". If the command says nothing, it could not detect any issues.

And yes, always use the most recent stable version.
------------
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: Google [Bot] and 7 guests