Page 1 of 1
Input to SVD must not contain NaN or Inf. Error
Posted:
Wed Oct 23, 2013 5:23 pm
by settler03
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
Re: Input to SVD must not contain NaN or Inf. Error
Posted:
Wed Oct 23, 2013 6:12 pm
by jpfeifer
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.
Re: Input to SVD must not contain NaN or Inf. Error
Posted:
Thu Oct 24, 2013 7:07 am
by settler03
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
Re: Input to SVD must not contain NaN or Inf. Error
Posted:
Fri Feb 07, 2014 6:53 pm
by selima
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
Re: Input to SVD must not contain NaN or Inf. Error
Posted:
Fri Feb 07, 2014 6:58 pm
by jpfeifer
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.