Data Analysis Recipes: Using Markov Chain Monte Carlo*
Open accessThe DOI matches its Crossref record; 30 of the 30 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Equation of State Calculations by Fast Computing Machines
Metropolis, N., Rosenbluth, A. W., Rosenbluth, M. N., Teller, A. H., & Teller, E. (1953) · The Journal of Chemical Physics · doi:10.1063/1.1699114 · Cited by 37,192
Inference from iterative simulation using multiple sequences
Gelman, A., & Rubin, D. B. (1992) · Statistical Science · doi:10.1214/ss/1177011136 · Cited by 16,627
No free lunch theorems for optimization
Wolpert, D. H., & Macready, W. G. (1997) · IEEE Transactions on Evolutionary Computation · doi:10.1109/4235.585893 · Cited by 14,237 · cited 1×
“31 Famously, there is “ no free lunch ” ( Wolpert & Macready 1997 ) : you cannot fi nd the global optimum of a general optimization problem without exhaustive search of all possibilities.”
Background<tt>emcee</tt>: The MCMC Hammer
Foreman-Mackey, D., Hogg, D. W., Lang, D., & Goodman, J. (2013) · Publications of the Astronomical Society of the Pacific · doi:10.1086/670067 · Cited by 12,414
Self-citationThe NumPy Array: A Structure for Efficient Numerical Computation
van der Walt, S., Colbert, S. C., & Varoquaux, G. (2011) · Computing in Science & Engineering · doi:10.1109/mcse.2011.37 · Cited by 9,381
Empirical Model Building and Response Surfaces
Freeny, A. (1988) · Technometrics · doi:10.1080/00401706.1988.10488371 · Cited by 5,235
Ensemble samplers with affine invariance
Goodman, J., & Weare, J. (2010) · Communications in Applied Mathematics and Computational Science · doi:10.2140/camcos.2010.5.65 · Cited by 3,075
Handbook of Markov Chain Monte Carlo
Brooks, S., Gelman, A., Jones, G., & Meng, X.-L. (2011) · Chapman & Hall/CRC eBooks · doi:10.1201/b10905 · Cited by 2,993
POSTERIOR PREDICTIVE ASSESSMENT OF MODEL FITNESS VIA REALIZED DISCREPANCIES
Gelman, A., Meng, X., & Stern, H. S. (1996) · Cited by 2,663
MCMC Using Hamiltonian Dynamics
Neal, R. M. (2011) · Handbook of Markov Chain Monte Carlo · doi:10.1201/b10905-6 · Cited by 2,574
Cited by
Binary Companions of Evolved Stars in APOGEE DR14: Search Method and Catalog of ∼5000 Companions
Price-Whelan, A. M., Hogg, D. W., Rix, H.-W., De Lee, N., Majewski, S. R., Nidever, D. L., Troup, N., Fernández-Trincado, J. G., García-Hernández, D. A., Longa-Peña, P., et al. (2018) · The Astronomical Journal · doi:10.3847/1538-3881/aac387 · Cited by 3,756
Self-citationMontePython 3: Boosted MCMC sampler and other features
Brinckmann, T., & Lesgourgues, J. (2019) · Physics of the Dark Universe · doi:10.1016/j.dark.2018.100260 · Cited by 683
Romero-Shaw, I. M., Talbot, C., Biscoveanu, S., D’Emilio, V, Ashton, G., Berry, C. P. L., Coughlin, S., Galaudage, S., Hoy, C., Hübner, M., et al. (2020) · Monthly Notices of the Royal Astronomical Society · doi:10.1093/mnras/staa2850 · Cited by 483
Thrane, E., & Talbot, C. (2019) · Publications of the Astronomical Society of Australia · doi:10.1017/pasa.2019.2 · Cited by 458
Multisystem Bayesian constraints on the transport coefficients of QCD matter
Everett, D., Ke, W., Paquet, J.-F., Vujanovic, G., Bass, S. A., Du, L., Gale, C., Heffernan, M., Heinz, U., Liyanage, D., et al. (2021) · Physical Review C · doi:10.1103/physrevc.103.054904 · Cited by 295
The Spur and the Gap in GD-1: Dynamical Evidence for a Dark Substructure in the Milky Way Halo
Bonaca, A., Hogg, D. W., Price-Whelan, A. M., & Conroy, C. (2019) · The Astrophysical Journal · doi:10.3847/1538-4357/ab2873 · Cited by 202
Self-citation
Metadata
- Authors
- Hogg, D. W., & Foreman-Mackey, D.
- Venue
- The Astrophysical Journal Supplement Series
- Publisher
- American Astronomical Society
- Published
- 2018-05-01
- Volume
- 236
- Issue
- 1
- Pages
- 11
- ISSN
- 0067-0049 (ISSN-L)
- 1538-4365
- OpenAlex
- W2766819726
- Cited by
- 316
- References
- 30
- FWCI
- 21.16
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.