EPJ Web of Conferences (Jan 2024)

Bayesian Methodologies with pyhf

  • Feickert Matthew,
  • Heinrich Lukas,
  • Horstmann Malin

DOI
https://doi.org/10.1051/epjconf/202429506004
Journal volume & issue
Vol. 295
p. 06004

Abstract

Read online

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.