4.6 Article

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

Journal

JOURNAL OF STATISTICAL SOFTWARE
Volume 103, Issue 15, Pages 1-29

Publisher

JOURNAL STATISTICAL SOFTWARE
DOI: 10.18637/jss.v103.i15

Keywords

Bayesian statistics; generalized linear models; multilevel models; hierarchical mod; els; mixed effect models; Python

Funding

  1. National Agency of Scientific and Technological promotion, ANPCyT [PICT -0218]
  2. Technology Industries of Finland Centennial Foundation [70007503]
  3. Academy of Finland Flagship program: Finnish Center for Artificial Intelligence, FCAI

Ask authors/readers for more resources

Bayesian statistical methods have become increasingly popular in recent years due to methodological advances, faster and cheaper hardware, and the development of new software tools. Bambi is an open source Python package built on top of PyMC and ArviZ that makes it easy to specify complex generalized linear hierarchical models, and it showcases its versatility and ease of use with various examples.
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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available