Skip to main navigation Skip to search Skip to main content

Rank-normalization, folding, and localization: an improved R for assessing convergence of MCMC (with discussion)

  • Aki Vehtarh
  • , Andrew Gelman
  • , Daniel Simpson
  • , Bob Carpenter
  • , Paul-Christian Bürkner

Research output: Contribution to journal › Article › Research › peer-review

Abstract

Markov chain Monte Carlo is a key computational tool in Bayesian statistics, but it can be challenging to monitor the convergence of an iterative stochastic algorithm. In this paper we show that the convergence diagnostic R of Gelman and Rubin (1992) has serious flaws. Traditional R will fail to correctly diagnose convergence failures when the chain has a heavy tail or when the variance varies across the chains. In this paper we propose an alternative rank-based diagnostic that fixes these problems. We also introduce a collection of quantile-based local efficiency measures, along with a practical approach for computing Monte Carlo error estimates for quantiles. We suggest that common trace plots should be replaced with rank plots from multiple chains. Finally, we give recommendations for how these methods should be used in practice.

Original languageEnglish
Pages (from-to)667-718
Number of pages52
JournalBayesian Analysis
Volume16
Issue number2
DOIs
Publication statusPublished - 2021
Externally publishedYes

Cite this