bayesian_pyhf is a Python package that allows for the parallel Bayesian and frequentist evaluation of multi-channel binned statistical models. The Python library pyhf is used to build such models according to the HistFactory framework and already includes many frequentist inference methodologies. The pyhf-built models are then used as data-generating model for Bayesian inference and evaluated with the Python library PyMC. Based on Monte Carlo Chain Methods, PyMC allows for Bayesian modelling and together with the arviz library offers a wide range of Bayesian analysis tools.
翻译:bayesian_pyhf是一个Python软件包,支持对多通道分箱统计模型进行并行化的贝叶斯与频率派评估。该工具利用Python库pyhf根据HistFactory框架构建此类模型,该库已包含众多频率派推断方法。基于pyhf构建的模型可被用作贝叶斯推断的数据生成模型,并通过Python库PyMC进行评估。依托蒙特卡洛链方法,PyMC可实现贝叶斯建模,并配合arviz库提供全面的贝叶斯分析工具。