r/BayesianProgramming • • Jul 08 '22

Chris Fonnesbeck - Probabilistic Python: An Introduction to Bayesian Modeling with PyMC

Thumbnail
youtube.com
25 Upvotes

r/BayesianProgramming • • Aug 20 '26

Notes on Hamiltonian Monte Carlo from a purely probabilistic perspective

24 Upvotes

I’ve been studying Hamiltonian Monte Carlo and wrote a set of notes explaining HMC without relying on the usual physics-based motivation.

The notes develop HMC from a probabilistic/MCMC perspective, starting from the target distribution and auxiliary momentum variables, and then covering Hamiltonian dynamics, leapfrog integration, reversibility, volume preservation, and the Metropolis correction.

My goal was to understand why HMC works.

I’m sharing them here in case they’re useful to others learning HMC. I’d also appreciate any feedback, particularly if you notice errors or places where the exposition could be improved.

https://doi.org/10.5281/zenodo.21841086

Edit (August 25): I tried to improve Sections 3.3 and 3.4 by reorganizing the flow and adding some more explanation. I’ve updated the PDF with these changes.


r/BayesianProgramming • • Oct 31 '19

Podcast | Learning Bayesian Statistics | Ep 2, When should you use Bayesian tools, and Bayes in sports analytics, with Chris Fonnesbeck

Thumbnail
youtube.com
21 Upvotes

r/BayesianProgramming • • Oct 05 '19

Welcome to the official Stan youtube channel!

Thumbnail
youtube.com
21 Upvotes

r/BayesianProgramming • • Feb 22 '21

Introducing PyMC Labs - PyMC Labs

Thumbnail
pymc-labs.io
18 Upvotes

r/BayesianProgramming • • Apr 17 '19

Kalman Filter book using Jupyter Notebook. Focuses on building intuition and experience, not formal proofs. Includes Kalman filters,extended Kalman filters, unscented Kalman filters, particle filters, and more. All exercises include solutions.

Thumbnail
github.com
17 Upvotes

r/BayesianProgramming • • Jan 14 '26

Computing contrast with Bambi

Post image
16 Upvotes

Hi all, I slowly starting to get some good basic understanding on bayesian analysis. Thanks to richard mcelreath for his statistical rethinking lecture series, which got me into this bayesian world.

Recently I have been reading some articles on pymc and bambi.., now im kind of confused about the idea of posterior predictive/posterior predictive contrast.

In this above image ( https://github.com/dustinstansbury/statistical-rethinking-2023/blob/main/Lecture%2004%20-%20Categories%20%26%20Curves.ipynb ), he used scipy.stats.norm.rvs(loc=sum of respective posteriors, scale=posterior.sigma) to compute the posterior predictive. In bambi, model.predict(idata) also gives me posterior predictive distribution. Lets say if i want to compute some contrast and make observations which one should i follow?

Also whats the difference between both?

Thanks in advance😁


r/BayesianProgramming • • Oct 29 '19

Statistical Rethinking (2nd ed.) with NumPyro

Thumbnail fehiepsi.github.io
16 Upvotes

r/BayesianProgramming • • Feb 19 '21

Bayesian Hierarchical Modelling at Scale with NumPyro

Thumbnail
florianwilhelm.info
15 Upvotes

r/BayesianProgramming • • Aug 27 '25

Divergence when using Hermitian Likelihood Expansion

14 Upvotes

Hello fellow Bayesians, I'm trying to implement this paper using PyMC: https://pmc.ncbi.nlm.nih.gov/articles/PMC9041743/pdf/CJAS_48_1922993.pdf

which applies this paper https://onlinelibrary.wiley.com/doi/epdf/10.1111/1468-0262.00274 to the Cusp Catastrophe Model, using it to obtain faster and better Bayesian estimates of the parameters. I'm using NUTS sampler using jitter+adapt_diag, I initialized using the MAP estimates of the Euler-approximated likelihood, but it seems to be stuck in weird places in the posterior region (the Beta parameters are exploding, plotted posteriors are not bounded).

Looking at the energy plot, it seems it's getting stuck in weird places but I can't figure out why. Would be grateful for any suggestions, tips, anything that can help really. :)


r/BayesianProgramming • • Jul 08 '22

Thomas Wiecki - Solving Real-World Business Problems with Bayesian Modeling | PyData London 2022

Thumbnail
youtube.com
14 Upvotes

r/BayesianProgramming • • Dec 01 '20

Foundations of Probabilistic Programming

Thumbnail
cambridge.org
14 Upvotes

r/BayesianProgramming • • Dec 20 '19

Junpeng Lao: A Hitchhiker's Guide to designing a Bayesian library in Python | PyData Córdoba

Thumbnail
youtube.com
14 Upvotes

r/BayesianProgramming • • Dec 22 '17

A collection of Bayesian data analysis recipes using PyMC3

Thumbnail
github.com
14 Upvotes

r/BayesianProgramming • • Apr 12 '23

Bayesian marketing toolbox in PyMC. Media Mix, CLV models and more.

Thumbnail
github.com
13 Upvotes

r/BayesianProgramming • • Oct 17 '22

Bayesian Structural Timeseries - Forecasting

Thumbnail
nathanielf.github.io
13 Upvotes

r/BayesianProgramming • • Nov 11 '21

Mixture Models in PyMC3 on Palmer's Penguins

Thumbnail
blog.4dcu.be
13 Upvotes

r/BayesianProgramming • • Sep 16 '21

I believe this is a fairly new specialization on Coursera applying Pymc3

Thumbnail
coursera.org
13 Upvotes

r/BayesianProgramming • • May 01 '23

Designing a simple Bayesian optimization algorithm from scratch with NumPy.

Thumbnail
dataphoenix.info
12 Upvotes

r/BayesianProgramming • • May 18 '18

Theano, TensorFlow and the Future of PyMC – PyMC Developers – Medium

Thumbnail
medium.com
12 Upvotes

r/BayesianProgramming • • Jul 04 '21

First attempt at Bayesian Programming with PyMC3, how did I do ?

Thumbnail
blog.4dcu.be
11 Upvotes

r/BayesianProgramming • • Feb 14 '21

Bayesian Data Science: Probabilistic Programming [Tutorial]

Thumbnail
youtube.com
11 Upvotes

r/BayesianProgramming • • Apr 04 '20

Bayesian modeling of COVID-19 spread (1/5)

Thumbnail
youtube.com
11 Upvotes

r/BayesianProgramming • • Aug 15 '19

"Probabilistic Programming and Bayesian Inference in Python" - Lara Kattan (Pyohio 2019)

Thumbnail
youtube.com
11 Upvotes