Introduction to Bayesian methods