fehiepsi / rethinking-numpyro

Statistical Rethinking (2nd ed.) with NumPyro

Home Page:https://fehiepsi.github.io/rethinking-numpyro/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Status

Statistical Rethinking (2nd ed.) with NumPyro

I am a fan of the book Statistical Rethinking, so I port the codes of its second edition to NumPyro. I hope that the book and this translation will be helpful not only for NumPyro/Pyro users but also for ones who are willing to do Bayesian statistics in Python.

How to read the notebooks

Installation

The following tools are used for some analysis and visualizations: arviz for posteriors, causalgraphicalmodels and daft for causal graphs, and (optional) ete3 for phylogenetic trees.

pip install numpyro arviz causalgraphicalmodels daft

Excercises

If you need help solving the exercises with numpyro, there are resolutions from chapter 2 and 3 here.

Acknowledgements

Kapil Sachdeva and Manuel A. Vázquez has helped fix many code and plot mismatches since the release. Many thanks!

About

Statistical Rethinking (2nd ed.) with NumPyro

https://fehiepsi.github.io/rethinking-numpyro/

License:MIT License


Languages

Language:Jupyter Notebook 99.6%Language:Python 0.4%Language:Smarty 0.0%Language:CSS 0.0%