Page 1 of 1

The steady state contains NaN or Inf

PostPosted: Sat Feb 22, 2014 1:48 pm
by yy1985
Dear all:
When I run the HSTBayes.mod------which is a example in dynare, it is coming up with the same errors{I have uesd the model_diagnostics(M_,options_,oo_)、model_check to check the model,there is no problem.}:

Error in computing likelihood for initial parameter values
??? Error using ==> print_info
The steady state contains NaN or Inf

Error in ==> initial_estimation_checks at 69
print_info(info, DynareOptions.noprint)

Error in ==> dynare_estimation_1 at 169
oo_=initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 70
dynare_estimation_1(var_list,dname);

Error in ==> HSTBayes at 205
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;

I don't know what the problem is.I am very puzzled .
Thanks!

the HSTBayes file attachment as follows:

Re: The steady state contains NaN or Inf

PostPosted: Sun Feb 23, 2014 5:12 pm
by jpfeifer
This is not an official Dynare file in use. The problem is that the model itself is linear, but there are constant terms. For estimation to work, you need a steady state file. I attach an updated version. But there are most likely still problems.

Re: The steady state contains NaN or Inf

PostPosted: Thu Mar 06, 2014 5:27 am
by yy1985
Dear professor pfeifer:
Yes, There is a collinear equation in HSTBayes.mod. Under your tip,I know how to solve it. Thank you very much!
Yun