Page 1 of 1

Estimation DSGE model with Dynare HELP!!!!

PostPosted: Wed May 09, 2012 8:25 am
by Chimai
Dear all,
I am using Dynare to estimate an economic model with fiscal policy. I followed chapter 5 in Dynare User guide but my model is more complicated with two kinds of households, which consumptions and labors are defined as Co, No, and Cr, Nr. And there are government spending shock and tax shock. But now I meet this problem as follow:
Log data density [Laplace approximation] is -25689.067911.

??? 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 ] = ...

Error in ==> dynare_estimation_1 at 871
feval(options_.posterior_sampling_method,'DsgeLikelihood',options_.proposal_distribution,xparam1,invhess,bounds,gend,data,...

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> example5 at 159
dynare_estimation(var_list_);

Error in ==> dynare at 120
evalin('base',fname) ;
I am a beginner of Dynare and I don't know how to solve this problem. I have to hand out my thesis next week. I really need your help and I appreciate your help!
Thank you very much!
Best,

Re: Estimation DSGE model with Dynare HELP!!!!

PostPosted: Thu May 10, 2012 10:52 am
by jpfeifer
Try using mode_compute=6. Search the forum for the numerous posts on this issue.