Statistical Rethinking is an incredible introductory book to Bayesian Statistics. It follows a Jaynesian and practical approach with very good examples and clear explanations.
In this repository we port the book's original code in R and Stan to Python and PyMC3. We attempt to reproduce the examples as faithfully as possible while expressing them in a Pythonic and PyMC3onic way.
All contributions are welcome!
Feel free to send PRs to fix errors, improve the code, or make comments that could help users of this repository and readers of the book. When submitting PRs, please make sure the notebooks are formatted according to the PyMC NB style guide.
You can also join the discussion on Gitter.
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.
Activate the environment by running:
source activate stat-rethink2-pymc3
Statistical Rethinking with Python and PyMC3 by All Contributors is licensed under a Creative Commons Attribution 4.0 International License.