avehtari / BDA_py_demos

Bayesian Data Analysis demos for Python

Home Page:https://avehtari.github.io/BDA_course_Aalto/demos.html#BDA_Python_demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bayesian Data Analysis Python Demos

Binder to interactively run the IPython Notebooks in the browser.

This repository contains some Python demos for the book Bayesian Data Analysis, 3rd ed by Gelman, Carlin, Stern, Dunson, Vehtari, and Rubin (BDA3). See also Bayesian Data Analysis course material.

Currently there are demos for BDA3 Chapters 2, 3, 4, 5, 6, 10 and 11. Furthermore, PyStan is also demoed.

Demos are in jupyter notebook (.ipynb) format. These can be directly previewed in github without need to install or run anything.

Corresponding demos were originally written for Matlab/Octave by Aki Vehtari and translated to Python by Tuomas Sivula. Some improvements were contributed by Pellervo Ruponen and Lassi Meronen. There are also corresponding R demos.

Requirements

  • python 3
  • ipython
  • numpy
  • scipy
  • matplotlib 2
  • pandas (for some demos)
  • pystan (for some demos)
  • ArviZ (for some demos)

About

Bayesian Data Analysis demos for Python

https://avehtari.github.io/BDA_course_Aalto/demos.html#BDA_Python_demos

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 99.2%Language:Python 0.6%Language:Stan 0.2%