Bayesian Data Analysis by Gelman, Carlin, Stern, Dunson, Vehtari, and Rubin is a comprehensive, standard, and wonderful textbook on Bayesian Methods. There currently exist code for examples in the book in R, Python, and Matlab, all using the Stan language.
This repository is a work in progress, organizing work on porting examples and exercises to Python and PyMC. Please open a pull request on the README to indicate interest in a chapter or section!
-
Probability and Inference
Unclaimed
-
Single-parameter models
Unclaimed
-
Introduction to multiparameter models
Unclaimed
-
Asymptotics and connections to non-Bayesian approaches
Unclaimed
-
Hierarchical models
Unclaimed
-
Model checking
Unclaimed
-
Evaluating, comparing, and expanding models
Unclaimed
-
Modeling accounting for data collection
Unclaimed
-
Decision analysis
Unclaimed
-
Introduction to Bayesian computation
Unclaimed
-
Basics of Markov chain simulation
Unclaimed
-
Computationally efficient Markov chain simulation
Unclaimed
-
Modal and distributional approximations
Unclaimed
-
Introduction to regression models
Unclaimed
-
Hierarchical linear models
Unclaimed
-
Generalized linear models
Unclaimed
-
Models for robust inference
Unclaimed
-
Models for missing data
Unclaimed
-
Parametric nonlinear models
Unclaimed
-
Basis function models
Unclaimed
-
Gaussian process models
Unclaimed
-
Finite mixture models
Unclaimed
-
Dirichlet process models
Unclaimed
All contributions are welcome!
Feel free to send PR to fix errors, improve the code or made comments that could help the user of this repository and readers of the book.
To install the dependencies to run these notebooks, you can use Anaconda. Once you have installed Anaconda, run:
conda env create -f environment.yml
to install all the dependencies into an isolated environment. You can switch to this environment by running:
source activate bda3-pymc
Bayesian Data Analysis with Python and PyMC by All Contributors is licensed under a Creative Commons Attribution 4.0 International License.