A review of frequentist regression using lm(), an introduction to Bayesian regression using stan_glm(), and a comparison of the respective outputs.
Learn how to modify your Bayesian model including changing the number and length of chains, changing prior distributions, and adding predictors.
In this chapter, we'll learn how to determine if our estimated model fits our data and how to compare competing models.
In this chapter, we'll learn how to use the estimated model to create visualizations of your model and make predictions for new data.