All Projects → ericmjl → Bayesian Analysis Recipes

ericmjl / Bayesian Analysis Recipes

Licence: mit
A collection of Bayesian data analysis recipes using PyMC3

Projects that are alternatives of or similar to Bayesian Analysis Recipes

Bayesian Stats Modelling Tutorial
How to do Bayesian statistical modelling using numpy and PyMC3
Stars: ✭ 480 (+0.21%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian, bayesian-data-analysis, bayesian-statistics
Rhat ess
Rank-normalization, folding, and localization: An improved R-hat for assessing convergence of MCMC
Stars: ✭ 19 (-96.03%)
Mutual labels:  bayesian-inference, bayesian, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Stan
Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.
Stars: ✭ 2,177 (+354.49%)
Mutual labels:  bayesian-inference, bayesian, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Shinystan
shinystan R package and ShinyStan GUI
Stars: ✭ 172 (-64.09%)
Mutual labels:  bayesian-inference, bayesian, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Rethinking Pyro
Statistical Rethinking with PyTorch and Pyro
Stars: ✭ 116 (-75.78%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (-40.5%)
Mutual labels:  bayesian-inference, bayesian, bayesian-data-analysis, bayesian-statistics, bayesian-methods
Dynamichmc.jl
Implementation of robust dynamic Hamiltonian Monte Carlo methods (NUTS) in Julia.
Stars: ✭ 172 (-64.09%)
Mutual labels:  bayesian-inference, bayesian, bayesian-statistics, bayesian-methods
LogDensityProblems.jl
A common framework for implementing and using log densities for inference.
Stars: ✭ 26 (-94.57%)
Mutual labels:  bayesian-methods, bayesian, bayesian-inference, bayesian-data-analysis
Bda py demos
Bayesian Data Analysis demos for Python
Stars: ✭ 781 (+63.05%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian, bayesian-data-analysis
Neural Tangents
Fast and Easy Infinite Neural Networks in Python
Stars: ✭ 1,357 (+183.3%)
Mutual labels:  jupyter-notebook, neural-networks, bayesian-inference
Pymc3 vs pystan
Personal project to compare hierarchical linear regression in PyMC3 and PyStan, as presented at http://pydata.org/london2016/schedule/presentation/30/ video: https://www.youtube.com/watch?v=Jb9eklfbDyg
Stars: ✭ 110 (-77.04%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-methods
A Nice Mc
Code for "A-NICE-MC: Adversarial Training for MCMC"
Stars: ✭ 115 (-75.99%)
Mutual labels:  jupyter-notebook, neural-networks, bayesian-inference
Bayesian Cognitive Modeling In Pymc3
PyMC3 codes of Lee and Wagenmakers' Bayesian Cognitive Modeling - A Pratical Course
Stars: ✭ 93 (-80.58%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-methods
Pymc Example Project
Example PyMC3 project for performing Bayesian data analysis using a probabilistic programming approach to machine learning.
Stars: ✭ 90 (-81.21%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-data-analysis
Machine Learning From Scratch
Succinct Machine Learning algorithm implementations from scratch in Python, solving real-world problems (Notebooks and Book). Examples of Logistic Regression, Linear Regression, Decision Trees, K-means clustering, Sentiment Analysis, Recommender Systems, Neural Networks and Reinforcement Learning.
Stars: ✭ 42 (-91.23%)
Mutual labels:  jupyter-notebook, notebook, neural-networks
statrethink course in pymc3
Statistical Rethinking course in pymc3
Stars: ✭ 141 (-70.56%)
Mutual labels:  bayesian-methods, bayesian, bayesian-inference
Bda r demos
Bayesian Data Analysis demos for R
Stars: ✭ 409 (-14.61%)
Mutual labels:  bayesian-inference, bayesian, bayesian-data-analysis
Resources
PyMC3 educational resources
Stars: ✭ 930 (+94.15%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-statistics
Rethinking Tensorflow Probability
Statistical Rethinking (2nd Ed) with Tensorflow Probability
Stars: ✭ 152 (-68.27%)
Mutual labels:  jupyter-notebook, bayesian-inference, bayesian-statistics
Edward2
A simple probabilistic programming language.
Stars: ✭ 419 (-12.53%)
Mutual labels:  jupyter-notebook, neural-networks, bayesian-methods

bayesian-analysis-recipes

Binder

introduction

I've recently been inspired by how flexible and powerful Bayesian statistical analysis can be. Yet, as with many things, flexibility often means a tradeoff with ease-of-use. I think having a cookbook of code that can be used in a number of settings can be extremely helpful for bringing Bayesian methods to a more general setting!

goals

My goal here is to have one notebook per model. In each notebook, you should end up finding:

  • The kind of problem that is being tackled here.
  • A description of how the data should be structured.
  • An example data table. It generally will end up being tidy data.
  • PyMC3 code for the model; in some notebooks, there may be two versions of the same model.
  • Examples on how to report findings from the MCMC-sampled posterior.

It is my hope that these recipes will be useful for you!

(hypo)thesis

My hypothesis here follows the Pareto principle: a large fraction of real-world problems can essentially be boiled down to a few categories of problems, which have a Bayesian interpretation.

In particular, I have this hunch that commonly-used methods like ANOVA can be replaced by conceptually simpler and much more interpretable Bayesian alternatives, like John Kruschke's BEST (Bayesian Estimation Supersedes the T-test). For example, ANOVA only tests whether means of multiple treatment groups are the same or not... but BEST gives us the estimated posterior distribution over each of the treatment groups, assuming each treatment group is identical. Hence, richer information can be gleaned: we can, given the data at hand, make statements about how any particular pair of groups are different, without requiring additional steps such as multiple hypothesis corrections etc.

further reading/watching/listening

Books:

Papers:

Videos:

got feedback?

There's a few ways you can help make this repository an awesome one for Bayesian method learners out there.

  1. If you have a question: Post a GitHub issue with your question. I'll try my best to respond.
  2. If you have a suggested change: Submit a pull request detailing the change and why you think it's important. Keep it simple, no need to have essay-length justifications.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].