A Question on 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.

A Question on Bayesian Estimation

Postby Butree » Mon Aug 18, 2014 10:57 pm

Hi, guys,
when I tried to estimate a model, the following information is printed in screen:

??? Error using ==> chol
Matrix must be positive definite.

Error in ==> gmhmaxlik at 197
dd = transpose(chol(CovJump));

Error in ==> dynare_estimation_1 at 437
[xparam1,PostVar,Scale,PostMean] = ...

Error in ==> dynare_estimation at 89
dynare_estimation_1(var_list,dname);

Error in ==> NewModel at 606
dynare_estimation(var_list_);

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

Also, the progress bar of 'Tuning of scale parameter" just get stopped.

Is there anything wrong with the model?

Thanks
Butree
 
Posts: 18
Joined: Sat Oct 05, 2013 5:29 am

Re: A Question on Bayesian Estimation

Postby jpfeifer » Tue Aug 19, 2014 8:55 am

Search the forum, there must be dozens of posts on this. The most common problem is that the data treatment does not match the observables defined in the model. See Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf
------------
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

Re: A Question on Bayesian Estimation

Postby Butree » Tue Aug 19, 2014 11:50 pm

Hi, Professor Pfeifer,
Thanks for your answer; I've fixed the problem now and got the estimation result. A question relevant to the estimation results is that, there're two estimation results, the first is RESULTS from POSTERIOR MAXIMIZATION (which comes before MCMC) and the second one is ESTIMATION RESULTS (which is based on MCMC); in the table of my paper, I should report the second result rather than the first one, is it correct?

Thanks again for your kindly help.
Butree
 
Posts: 18
Joined: Sat Oct 05, 2013 5:29 am

Re: A Question on Bayesian Estimation

Postby jpfeifer » Wed Aug 20, 2014 6:57 am

Yes, papers doing Bayesian estimation report the parameters from posterior sampling via MCMC
------------
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

Re: A Question on Bayesian Estimation

Postby Butree » Wed Aug 20, 2014 2:49 pm

Thanks a lot, Professor Pfeifer!
Butree
 
Posts: 18
Joined: Sat Oct 05, 2013 5:29 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests

cron