The Bayesian approach to parameter estimation