ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

emcee: The MCMC Hammer

Discussion topics for individual codes
kcd
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

Site: http://dan.iel.fm/emcee/
http://adsabs.harvard.edu/abs/2012ApJ...752..147D

Bibcode: 2013ascl.soft03002F

Preferred citation method: http://adsabs.harvard.edu/abs/2013PASP..125..306F

ID: ascl:1303.002
Last edited by Ada Coda on Sun Nov 27, 2016 7:28 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 0 guests

cron