Posterior predicitve quantiles

189 views
Skip to first unread message

Thomas Wiecki

unread,
Sep 28, 2012, 2:44:53 PM9/28/12
to hddm-...@googlegroups.com
Hi all,

Just wanted to share a cool new plotting feature of HDDM: posterior predicitve quantiles.

They are a version of the usual quantile plots that Ratcliff uses. However, because we are in Bayesland we get densities, not single points. So the quantile locations are a density which the attached plots shows. The white lines are the empirical quantiles.

This requires development branch of kabuki and hddm.

The command to plot this where:
hddm.utils.plot_posterior_quantiles(m, samples=1000, columns=3, hexbin=True, figsize=(16, 8), xlim=(.4, 1.8), ylim=(0, 1), predictive_plot_kwargs={'gridsize': 75, 'bins': 'log', 'extent':(.4, 1.8, 0, 1)});
post_pred_quantiles.pdf
post_pred_quantiles.png

Thomas Wiecki

unread,
Sep 28, 2012, 3:00:21 PM9/28/12
to hddm-...@googlegroups.com
Actually, the new way to create that plot is:
hddm.utils.plot_posterior_quantiles(m)


:)

Imri Sofer

unread,
Sep 28, 2012, 3:48:36 PM9/28/12
to hddm-...@googlegroups.com
cool

On Fri, Sep 28, 2012 at 2:44 PM, Thomas Wiecki <thomas...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages