Data Analysis Recipes: Using Markov Chain Monte Carlo*

  • Hogg D
  • Foreman-Mackey D
293Citations
Citations of this article
427Readers
Mendeley users who have this article in their library.

Abstract

Markov Chain Monte Carlo (MCMC) methods for sampling probability density functions (combined with abundant computational resources) have transformed the sciences, especially in performing probabilistic inferences, or fitting models to data. In this primarily pedagogical contribution, we give a brief overview of the most basic MCMC method and some practical advice for the use of MCMC in real inference problems. We give advice on method choice, tuning for performance, methods for initialization, tests of convergence, troubleshooting, and use of the chain output to produce or report parameter estimates with associated uncertainties. We argue that autocorrelation time is the most important test for convergence, as it directly connects to the uncertainty on the sampling estimate of any quantity of interest. We emphasize that sampling is a method for doing integrals; this guides our thinking about how MCMC output is best used.

Cite

CITATION STYLE

APA

Hogg, D. W., & Foreman-Mackey, D. (2018). Data Analysis Recipes: Using Markov Chain Monte Carlo*. The Astrophysical Journal Supplement Series, 236(1), 11. https://doi.org/10.3847/1538-4365/aab76e

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free