Bambi: A simple interface for fitting Bayesian linear models in Python

12/19/2020
by   Tomás Capretto, et al.
0

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 PyMC3 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 the popular R packages lme4, nlme, rstanarm and brms. 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.

READ FULL TEXT

page 6

page 7

page 8

page 10

research
11/02/2019

salmon: A Symbolic Linear Regression Package for Python

One of the most attractive features of R is its linear modeling capabili...
research
12/24/2017

EXONEST: The Bayesian Exoplanetary Explorer

The fields of astronomy and astrophysics are currently engaged in an unp...
research
12/17/2019

Cyanure: An Open-Source Toolbox for Empirical Risk Minimization for Python, C++, and soon more

Cyanure is an open-source C++ software package with a Python interface. ...
research
06/02/2021

semopy 2: A Structural Equation Modeling Package with Random Effects in Python

Structural Equation Modeling (SEM) is an umbrella term that includes num...
research
07/03/2019

bayes4psy – an Open Source R Package for Bayesian Statistics in Psychology

Research in psychology generates interesting data sets and unique statis...
research
10/28/2022

SoftBart: Soft Bayesian Additive Regression Trees

Bayesian additive regression tree (BART) models have seen increased atte...
research
08/25/2017

BAMBI: An R package for Fitting Bivariate Angular Mixture Models

Statistical analyses of directional or angular data have applications in...

Please sign up or login with your details

Forgot password? Click here to reset