Implement Bayesian Inference Example