Bayesian model selection and parameter estimation