Bayes rule example problems