Difficulties when estimate a DSGE model
Posted: Tue Feb 21, 2012 1:42 pm
Dear all,
I am estimating a economic DSGE model with DYNARE,and i meet problems as follow:
??? 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 ==> monetary at 247
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Since i am a beginner of dynare,i don't know how to solve the problem.I need your help,thank you very much.
I am estimating a economic DSGE model with DYNARE,and i meet problems as follow:
??? 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 ==> monetary at 247
dynare_estimation(var_list_);
Error in ==> dynare at 132
evalin('base',fname) ;
Since i am a beginner of dynare,i don't know how to solve the problem.I need your help,thank you very much.