Bambi: A Simple Interface for Fitting Bayesian Linear Models in Python

Dublin Core

Title

Bambi: A Simple Interface for Fitting Bayesian Linear Models in Python

Subject

: Bayesian statistics, generalized linear models, multilevel models, hierarchical models, mixed effect models, Python

Description

The popularity of Bayesian statistical methods has increased dramatically in recent
years across many research areas and industrial applications. This is the result of a variety
of methodological advances with faster and cheaper hardware as well as the development
of new software tools. Here we introduce an open source Python package named Bambi
(BAyesian Model Building Interface) that is built on top of the PyMC probabilistic programming framework and the ArviZ package for exploratory analysis of Bayesian models.
Bambi makes it easy to specify complex generalized linear hierarchical models using a
formula notation similar to those found in R. We demonstrate Bambi’s versatility and
ease of use with a few examples spanning a range of common statistical models including
multiple regression, logistic regression, and mixed-effects modeling with crossed group
specific effects. Additionally we discuss how automatic priors are constructed. Finally,
we conclude with a discussion of our plans for the future development of Bambi.

Creator

Tomás Capretto

Source

https://www.jstatsoft.org/article/view/v103i15

Publisher

University of Texas at Austin

Date

July 2022

Contributor

Fajar bagus W

Format

PDF

Language

English

Type

Text

Files

Citation

Tomás Capretto, “Bambi: A Simple Interface for Fitting Bayesian Linear Models in Python,” Repository Horizon University Indonesia, accessed April 11, 2025, https://repository.horizon.ac.id/items/show/8270.