Bayesian Estimation error
Posted: Sun Mar 29, 2015 12:42 am
Hi! When I try to estimate my model (log-linearized by hand before) I get the following error message:
STEADY: The Jacobian contains Inf or NaN. The problem arises from:
Attempt to reference field of non-structure array.
Error in display_problematic_vars_Jacobian (line 39)
aux_vars_type = [M_.aux_vars.type];
Error in dynare_solve (line 56)
display_problematic_vars_Jacobian(infrow,infcol,M,x,'static','STEADY: ')
Error in evaluate_steady_state (line 194)
[ys,check] = dynare_solve([M.fname '_static'],...
Error in dynare_estimation_init (line 513)
[oo_.steady_state, params] = evaluate_steady_state(oo_.steady_state,M,options_,oo_,steadystate_check_flag);
Error in dynare_estimation_1 (line 94)
[dataset_, dataset_info, xparam1, hh, M_, options_, oo_, estim_params_, bayestopt_, bounds] = ...
Error in dynare_estimation (line 91)
dynare_estimation_1(var_list,dname);
Error in baseLTVest (line 513)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 185)
evalin('base',fname) ;
*********************************************
The model could be simulated before and steady-state could be computed using calibrated parameters. What does this error warning mean? Is it an indication that something with my priors is possibly wrong? Or could it be a bug in Dynare?
I used one-sided HP filter for variables with a trend.
Thank you!
STEADY: The Jacobian contains Inf or NaN. The problem arises from:
Attempt to reference field of non-structure array.
Error in display_problematic_vars_Jacobian (line 39)
aux_vars_type = [M_.aux_vars.type];
Error in dynare_solve (line 56)
display_problematic_vars_Jacobian(infrow,infcol,M,x,'static','STEADY: ')
Error in evaluate_steady_state (line 194)
[ys,check] = dynare_solve([M.fname '_static'],...
Error in dynare_estimation_init (line 513)
[oo_.steady_state, params] = evaluate_steady_state(oo_.steady_state,M,options_,oo_,steadystate_check_flag);
Error in dynare_estimation_1 (line 94)
[dataset_, dataset_info, xparam1, hh, M_, options_, oo_, estim_params_, bayestopt_, bounds] = ...
Error in dynare_estimation (line 91)
dynare_estimation_1(var_list,dname);
Error in baseLTVest (line 513)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 185)
evalin('base',fname) ;
*********************************************
The model could be simulated before and steady-state could be computed using calibrated parameters. What does this error warning mean? Is it an indication that something with my priors is possibly wrong? Or could it be a bug in Dynare?
I used one-sided HP filter for variables with a trend.
Thank you!