stan-dev / stan-dev/bayesplot

Local ESS, quantile ESS, ESS change, and rank-based alternative to traceplot

Open
#178 17 comments 3 reactions 2 assignees View on GitHub

@paul-buerkner is already working on this.

Since Mar 20, 2019.

feature new plot
Dominant language
R
Stars
442
Forks
93
Avg merge
3h 11m
Merged PRs (30d)
1

Description

Edit: Sorry @tjmahr, that I (Aki) hijack this issue.

Implement new plots as described in

  • Aki Vehtari, Andrew Gelman, Daniel Simpson, Bob Carpenter, Paul-Christian Bürkner (2019): Rank-normalization, folding, and localization: An improved R-hat for assessing convergence of MCMC. arXiv preprint arXiv:1903.08008.

See also Dan's blog post

The reference code is available in monitorplot.R

Implement versions of functions

  • mcmc_rank_hist, mcmc_rank_overlay for rank plots
  • mcmc_ecdfd_r_scale for ECDF difference plots (see Fig. 14c in SBC paper)
  • mcmc_ess_local for local efficiency plots
  • mcmc_ess_quantile for quantile efficiency plots
  • mcmc_ess_change for efficiency change plots

Feel free to come up with better function names, add checks, and it's fine to make separate PRs for these, if you want to implement just one.

For three last ones see also stan-dev/rstan#617

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.