An Introduction to Bayesian Inference