How to think like a Bayesian