1 Bayes’ theorem