Example code to perform linear mixed effects regression in a Bayesian setting using the PyMc3 framework
Adapted from:
https://docs.pymc.io/notebooks/getting_started
https://github.com/fonnesbeck/PyMC3_Oslo/blob/master/notebooks/b.%20Multilevel%20Modeling.ipynb
https://github.com/pymc-devs/pymc3/blob/master/pymc3/examples/data/cty.dat
Usage:
python3 pooled_model_example.py
Installation:
pip3 install -r requirements.txt