Introduction to building Bayes models