Implement Bayesian Statistics Wikipedia