approximate_bayes

Approximate Bayesian computation

This is the source code for a small example of doing ABC and ABC-SMC (Sequential Monte Carlo) to estimate the unknown mean and variance of a normal distribution from a data set with 30 observations. I wrote it as part of a class and thought I’d put it up in the hopes that someone else might find it useful. You can get the code by cloning this repository with git clone, or you can click on the Download ZIP button.

Files: