bambiEasy Examples

Bayesian Model Building Interface; R-style formulas on top of PyMC

Getting started with bambi

Installation and basic usage of bambi.

python
# Install: pip install bambi
import bambi

# Basic bambi usage
print(f"Using bambi")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: bambi)

bambi is a third-party package. Bayesian Model Building Interface; R-style formulas on top of PyMC. Install with: pip install bambi

Common bambi operations

Frequently used features of bambi.

python
# Install: pip install bambi
import bambi

# Common bambi patterns
print(f"bambi version: {bambi.__version__}")

These are the most commonly used features of bambi in everyday development.

Want to try these examples interactively?

Open Easy Playground