vix.ing · top · new · best · stats

dynesty: a dynamic nested sampling package for estimating Bayesian posteriors and evidences

2019/04/03 by Joshua S Speagle · 2,266 citations
Computer Science · Mathematics · Physics and Astronomy · #Algorithm #Artificial intelligence #Bayesian Methods and Mixture Models #Bayesian probability #Computer science #Data mining #Gaussian Processes and Bayesian Inference #Gibbs sampling #Importance sampling #Machine learning #Markov chain #Markov chain Monte Carlo #Mathematics #Monte Carlo method #Programming language #Python (programming language) #Sampling (signal processing) #Statistical Methods and Bayesian Inference #Statistics #astro-ph.IM #stat.CO

paper · pdf · doi:10.1093/mnras/staa278

published in Monthly Notices of the Royal Astronomical Society 493(3), 3132-3158 (Oxford University Press) · 28 pages, 12 figures, submitted to MNRAS; code available at https://github.com/joshspeagle/dynesty

arxiv created 2019/04/03 · openalex publication_date 2020/01/30 · arxiv updated 2020/02/12 · openalex created_date 2025/10/10 · openalex updated_date 2026/08/06

Abstract

ABSTRACT We present dynesty, a public, open-source, python package to estimate Bayesian posteriors and evidences (marginal likelihoods) using the dynamic nested sampling methods developed by Higson et al. By adaptively allocating samples based on posterior structure, dynamic nested sampling has the benefits of Markov chain Monte Carlo (MCMC) algorithms that focus exclusively on posterior estimation while retaining nested sampling’s ability to estimate evidences and sample from complex, multimodal distributions. We provide an overview of nested sampling, its extension to dynamic nested sampling, the algorithmic challenges involved, and the various approaches taken to solve them in this and previous work. We then examine dynesty’s performance on a variety of toy problems along with several astronomical applications. We find in particular problems dynesty can provide substantial improvements in sampling efficiency compared to popular MCMC approaches in the astronomical literature. More detailed statistical results related to nested sampling are also included in the appendix.

Citations

Cited by

Related