In this chapter, we illustrated how Bayesian regression is more useful for prediction with a tighter confidence interval using the Energy efficiency dataset and the
bayesglm function of the arm package. We also learned how to simulate the posterior distribution using the
sim function in the same R package. In the next chapter, we will learn about Bayesian classification.