The role of Bayes' theorem