*closed*

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.

*closed*

Postby xtsong » Fri Nov 15, 2013 5:37 am

the post is deleted
Last edited by xtsong on Mon Nov 25, 2013 10:07 pm, edited 1 time in total.
xtsong
 
Posts: 5
Joined: Fri Nov 15, 2013 5:23 am

Re: *Error-SVD contain nan or inf* in bayesian estimation

Postby xtsong » Fri Nov 15, 2013 10:15 pm

Update to last post:
Now the problem is clear: the model doesn't have a steady state or infinity of steady states. As the error message:

SOLVE: maxit has been reached

SOLVE: maxit has been reached

SOLVE: maxit has been reached
Error in computing likelihood for initial parameter values
Error using print_info (line 57)
Impossible to find the steady state. Either the model doesn't have a steady state, there
are an infinity of steady states, or the guess values are too far from the solution

Error in initial_estimation_checks (line 69)
print_info(info, DynareOptions.noprint)

Error in dynare_estimation_1 (line 147)
oo_ =
initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in dynare_estimation (line 70)
dynare_estimation_1(var_list,dname);

Error in model (line 361)
dynare_estimation(var_list_);

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


BUT, when I look into the residuals of the static equations: no equation has the abnormal NAN or INF! Then how to find the crazy steady state problem in this model?
xtsong
 
Posts: 5
Joined: Fri Nov 15, 2013 5:23 am

Re: *Error-SVD contain nan or inf* in bayesian estimation

Postby jpfeifer » Tue Nov 19, 2013 9:30 am

Your model is fully nonlinear, but you don't provide initial values. Thus Dynare initalizes them with 0. But consumption cannot be 0. If you want estimation tow work, add an initval or even better an steady_state_model-block
------------
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