GetDist:用于分析蒙特卡洛样本的Python包
GetDist: a Python package for analysing Monte Carlo samples
AI总结:
GetDist是一个Python包,用于分析MCMC等蒙特卡洛样本,通过核密度估计计算边际密度,自动选择带宽,并支持出版级图形和收敛诊断。
摘要:
蒙特卡洛技术(包括MCMC和其他方法)广泛用于贝叶斯推断中,以从感兴趣的参数空间中生成样本集。Python的GetDist包提供了分析这些样本并利用核密度估计(KDE)计算边际化的一维和二维密度的工具。许多蒙特卡洛方法会产生相关和/或加权的样本,例如由MCMC、嵌套采样或重要性采样产生的样本,并且可能存在硬边界先验。GetDist的基线方法包括应用线性边界核,然后使用乘性偏差校正。平滑带宽根据Botev等人的方法自动选择,基于启发式方法和优化结果的混合,利用有效样本数(此处定义为同时考虑MCMC相关性和权重)的预期缩放。二维KDE使用自动确定的椭圆高斯核来处理相关分布。该包包含使用简单的命名参数接口生成各种出版质量图形的工具,以及可用于交互式探索的图形用户界面。它还可以计算收敛诊断、生成极限表格,并输出为LaTeX格式,且公开可用。
英文摘要:
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., 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。