Hi everybody!
i was doing a DSGE model using bayesian technique. when i set in the "estimation()" with "mode_compute = 4", i got note:
??? Error using ==> chol
Matrix must be positive definite.
Error in ==> metropolis_hastings_initialization at 52
d = chol(vv);
Error in ==> random_walk_metropolis_hastings at 58
[ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...
while after using optimization routine "mode_compute = 6", i can get the estimation results, but the Bayesian IFRs are not desirable, most like sharp cliffs or responses in big scale between each plot.
i don't know what to do next. any help is much appreaciated!
eric