Student or educator? Sign up with your school email and get 6 months of Pro free.
Cited by 12,414

The DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.

<tt>emcee</tt>: The MCMC Hammer

Open access
Foreman-Mackey, Daniel, Hogg, David W., Lang, Dustin, Goodman, Jonathan·2013·Publications of the Astronomical Society of the Pacific

Abstract

We introduce a stable, well tested Python implementation of the affine-invariant ensemble sampler for Markov chain Monte Carlo (MCMC) proposed by Goodman & Weare ( 2010 ). The code is open source and has already been used in several published projects in the astrophysics literature. The algorithm behind emcee has several advantages over traditional MCMC sampling methods and it has excellent performance as measured by the autocorrelation time (or function calls per independent sample). One major advantage of the algorithm is that it requires hand-tuning of only 1 or 2 parameters compared to ∼ N 2 for a traditional algorithm in an N -dimensional parameter space. In this document, we describe the algorithm and the details of our implementation. Exploiting the parallelism of the ensemble method, emcee permits any user to take advantage of multiple CPU cores without extra effort. The code is available online at http://dan.iel.fm/emcee under the GNU General Public License v2.

Overview

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1086/670067

Cites

2 of 2 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

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

Show all 2 references

Cited by

See all 12,414

Metadata

Authors
Foreman-Mackey, D., Hogg, D. W., Lang, D., & Goodman, J.
Venue
Publications of the Astronomical Society of the Pacific
Published
2013-03
Volume
125
Issue
925
Pages
306-312
ISSN
  • 0004-6280 (ISSN-L)
  • 1538-3873
OpenAlex
W2063397409
Cited by
12,414
References
2
FWCI
213.33
Type
journal article
Language
en
Open access
bronze

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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: <tt>emcee</tt>: The MCMC Hammer. https://app.cochat.ai/papers/10.1086/670067
The paper
Foreman-Mackey, D., Hogg, D. W., Lang, D., & Goodman, J. (2013). <tt>emcee</tt>: The MCMC Hammer. Publications of the Astronomical Society of the Pacific. https://doi.org/10.1086/670067

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.