GetDist: a Python package for analysing Monte Carlo samples

By A. Lewis. 2019

877 citations recorded by the source corpus.

Monte Carlo techniques, including MCMC and other methods, are widely used in Bayesian inference to generate sets of samples from a parameter space of interest. The Python GetDist package provides tools for analysing these samples and calculating marginalized one and two-dimensional densities using Kernel Density Estimation (KDE). Many Monte Carlo methods produce correlated and/or weighted samples, for example produced by MCMC, nested, or importance sampling, and there can be hard boundary priors. GetDist's baseline method consists of applying a linear boundary kernel, and then using multiplicative bias correction. The smoothing bandwidth is selected automatically following Botev et al. [1], based on a mixture of heuristics and optimization results using the expected scaling with an effective number of samples (defined here to account for both MCMC correlations and weights). Two-dimensional KDE uses an automatically-determined elliptical Gaussian kernel for correlated distributions. The package includes tools for producing a variety of publication-quality figures using a simple named-parameter interface, as well as a graphical user interface that can be used for interactive exploration. It can also calculate convergence diagnostics, produce tables of limits, and output in latex, and is publicly available.

View Paper: https://www.semanticscholar.org/paper/3d278138e9ab525232932853e56a96c98dc5c51d

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

  1. Catherine Heymans
  2. C. Blake
  3. S. Joudaki
  4. M. White
  5. H. Hildebrandt
  6. L. Senatore
  7. E. di Valentino
  8. V. Poulin

Citations in the corpus