===================
== Thomas Pinder ==
===================
Bayesian ML, Causal Inference, and JAX

Bayesian Synthetic Difference-in-Differences via Cut Posteriors

A NumPyro implementation of Bayesian Synthetic Difference-in-Differences using modular inference and cut posteriors.

Prior Validation Via Prior Predictive Checks

Let’s explore how prior predictive checks can help you understand whether your priors are reasonable before you see any data. This is an important step in the Bayesian workflow that is often overlooked, but it can save you from fitting models that encode assumptions you never intended.

Bayesian Synthetic Control

A NumPyro implementation of Bayesian Synthetic Control Methods.

Bayesian Estimation Supersedes the T-Test in NumPyro

A NumPyro implementation of Bayesian estimation supersedes the t-test.

Variational Inference by Implementation

A gentle introduction to variational inference applied to Bayesian logistic regressions with accompanying PyTorch implementation.

Proper Scoring Rules

A short post on scoring rules and their connection to a divergence metric.

Variational Inference from Scratch

Let’s derive the evidence lower bound used in variational inference using Jensen’s inequality and the Kullback-Leibler divergence.

Gaussian processes with Jax in 80 lines

A GP implementation using Jax that shows kernel computation, conditioning of Gaussian distributions, parameter transformations, and gradient-based optimisation.