error masages
Posted: Mon Jun 01, 2015 2:49 pm
when I run the mod file this message appears, plz help me to solve this erroress:
Log data density [Laplace approximation] is -173.755846.
??? Error using ==> chol
Matrix must be positive definite.
Error in ==> metropolis_hastings_initialization at 68
d = chol(vv);
Error in ==> random_walk_metropolis_hastings at 62
[ ix2, ilogpo2, ModelName, MetropolisFolder, fblck, fline, npar, nblck, nruns,
NewFile, MAX_nruns, d ] = ...
Error in ==> dynare_estimation_1 at 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 at 89
dynare_estimation_1(var_list,dname);
Error in ==> ueiran at 611
dynare_estimation(var_list_);
Error in ==> dynare at 180
evalin('base',fname) ;
the mod file and data file attached: