Problems with Bayesian estimation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Problems with Bayesian estimation

Postby bmicallef » Mon Sep 20, 2010 7:19 pm

I am trying to the DSGE model of Cho and Moreno (JMCB), provided by Philip Liu, on euro area data. However, Dynare is giving the following error:

??? 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 43
[ ix2, ilogpo2, ModelName, MhDirectoryName, fblck, fline, npar, nblck, nruns, NewFile, MAX_nruns, d ] = ...

Error in ==> dynare_estimation_1 at 1023
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 ==> moreno_mcmc at 164
dynare_estimation(var_list_);

Error in ==> dynare at 125
evalin('base',fname) ;

I am attaching the .mod file and the data. Any help?
Attachments
datankm.m
(2.32 KiB) Downloaded 139 times
moreno_mcmc.mod
(1.38 KiB) Downloaded 147 times
bmicallef
 
Posts: 10
Joined: Thu Jul 29, 2010 8:42 am

Re: Problems with Bayesian estimation

Postby jpfeifer » Tue Sep 21, 2010 7:10 am

Search the forum and you will find many answers, see e.g. http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=2580
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests