Data Analysis Recipes: Using Markov Chain Monte Carlo
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.
.- Publication:
-
The Astrophysical Journal Supplement Series
- Pub Date:
- May 2018
- DOI:
- arXiv:
- arXiv:1710.06068
- Bibcode:
- 2018ApJS..236...11H
- Keywords:
-
- methods: data analysis;
- methods: numerical;
- methods: statistical;
- Astrophysics - Instrumentation and Methods for Astrophysics;
- Physics - Data Analysis;
- Statistics and Probability;
- Statistics - Computation
- E-Print:
- A purely pedagogical contribution