Hi there,
I am having an issue running baynesian estimation of a DSGE model. Dynare is displaying the following messages and I am unsure how to solve this issue. I have tried changing the mode_compute and priors, but doesn't seem to offer a solution.
Any help on this issue is greatly appreciated. Thank you
POSTERIOR KERNEL OPTIMIZATION PROBLEM!
(minus) the hessian matrix at the "mode" is not positive definite!
=> posterior variance of the estimated parameters are not positive.
You should try to change the initial values of the parameters using
the estimated_params_init block, or use another optimization routine.
Warning: The results below are most likely wrong!
> In dynare_estimation_1 at 694
In dynare_estimation at 89
In TRIAL_JP3_MATT at 351
In dynare at 180
Error using chol
Matrix must be positive definite.
Error in metropolis_hastings_initialization (line 68)
d = chol(vv);
Error in random_walk_metropolis_hastings (line 62)
[ ix2, ilogpo2, ModelName, MetropolisFolder, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...
Error in dynare_estimation_1 (line 782)
feval(options_.posterior_sampling_method,objective_function,options_.proposal_distribution,xparam1,invhess,bounds,dataset_,options_,M_,estim_params_,bayestopt_,oo_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in TRIAL_JP3_MATT (line 351)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;