plotting the mcmc posterior distribution

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.

plotting the mcmc posterior distribution

Postby lombard » Thu Apr 25, 2013 10:39 am

Hi,

I thought I could plot the posterior distribution obtained after mcmc, but I cannot find any reference to such a function.

I've seen the toolbox of Cesa-Bianchi, but 1) there are some bugs and missing functions (I think I've fixed them but...) 2) the plot for some parameters doesn't look right: parameters with beta prior show to be distributed as normal (i.e. outside the admissible range).

Is there a native Dynare function to merge all chains and generate posterior plots?

Thanks

Gianni
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: plotting the mcmc posterior distribution

Postby jpfeifer » Thu Apr 25, 2013 2:51 pm

The have to use GetPosteriorParametersStatistics.m first and then PlotPosteriorDistributions.m
------------
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: plotting the mcmc posterior distribution

Postby lombard » Thu Apr 25, 2013 3:20 pm

Great. thanks. I'll try it
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests