Astrophysics Source Code Library

Making codes discoverable since 1999

emcee: The MCMC Hammer

Discussion topics for individual codes
Posts: 255
Joined: Mon Nov 14, 2011 4:32 am
Location: Maryland, USA

emcee: The MCMC Hammer

Postby kcd » Sat Mar 02, 2013 4:57 am

emcee: The MCMC Hammer

Abstract: emcee is an extensible, pure-Python implementation of Goodman & Weare's Affine Invariant Markov chain Monte Carlo (MCMC) Ensemble sampler. It's designed for Bayesian parameter estimation. The algorithm behind emcee has several advantages over traditional MCMC sampling methods and has excellent performance as measured by the autocorrelation time (or function calls per independent sample). One 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. Exploiting the parallelism of the ensemble method, emcee permits any user to take advantage of multiple CPU cores without extra effort.

Credit: Foreman-Mackey, Daniel; Conley, Alex; Meierjurgen Farr, Will; Hogg, David W.; Lang, Dustin; Marshall, Phil; Price-Whelan, Adrian; Sanders, Jeremy; Zuntz, Joe


Bibcode: 2013ascl.soft03002F

Preferred citation method:

ID: ascl:1303.002
Last edited by Ada Coda on Sun Jun 09, 2019 4:54 pm, edited 1 time in total.
Reason: Updated code entry.

Return to “Astrophysics Source Code Library”

Who is online

Users browsing this forum: No registered users and 2 guests