Back to results
Bibliographic record · Consultation and access
Artículo

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

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

Supplementary material available
Quick overview. Review the resource’s basic details, then access the content using the main button. This page shows only the information needed to identify, cite, and open the work.

Resource access

Open the content from the main option or choose another available source.

OpenAlex OpenAlex Works
Entrar por OpenAlex
Main access

Supplementary material available

El enlace apunta a material asociado, anexos, tablas, datos o página complementaria. No se marca como libro/texto completo.
Open material

Summary

Descripción general del contenido del recurso.

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 $\sim 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 and API. 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 MIT License.

How to cite

Elegí el formato que necesitás y copiá la referencia al portapapeles.

APA 7

Foreman-Mackey, D, Hogg, D. W, Lang, D, & Goodman, J. (2013). emcee: The MCMC Hammer. https://doi.org/10.1086/670067

MLA

Foreman-Mackey, Daniel, et al. "emcee: The MCMC Hammer." 2013. https://doi.org/10.1086/670067.

Chicago

Foreman-Mackey, Daniel, David W. Hogg, Dustin Lang, and Jonathan Goodman. 2013. "emcee: The MCMC Hammer.". https://doi.org/10.1086/670067.

Harvard

Foreman-Mackey, D. et al. 2013, emcee: The MCMC Hammer, Publications of the Astronomical Society of the Pacific, available at: https://doi.org/10.1086/670067 [Accessed 7 Aug. 2026].

Share and print

Save the record, copy its permanent link, or print it as a PDF.

Export reference

You can export the record in common formats for use in a reference manager.

Resource details

Bibliographic information to help confirm that this is the correct material.

Title
<tt>emcee</tt>: The MCMC Hammer
Author / contributors
Daniel Foreman-Mackey; David W. Hogg; Dustin Lang; Jonathan Goodman
Publisher
Publications of the Astronomical Society of the Pacific
Publication year
2013
Language
English

Subjects

Explore related resources through these subjects.

Copied