4.6 Summary
Chapter 4 in review
Chapter 4 introduced the linear model, the workhorse of statistics. We started with the Gaussian distribution and explained why it is a natural default (central limit theorem, maximum entropy). We then built a language for describing models that separates the likelihood, the linear model, and the priors.
We fit a Gaussian model of height (no predictor) and then extended it to a linear regression with weight as a predictor. We learned the importance of prior predictive simulation, centering predictors, and visualizing posterior uncertainty. Finally, we explored polynomial regression for nonlinear relationships and saw the dangers of overfitting.
Key models from Chapter 4
- Gaussian model:
- Linear regression:
- Polynomial regression:
Key lessons
- Choose priors carefully: Use prior predictive simulation to check what the priors imply.
- Center predictors: Makes the intercept interpretable and improves computation.
- Interpret coefficients in context: The slope is the expected change per unit of the predictor.
- Check the model: Use posterior predictive simulations to verify the model fits.
- Beware overfitting: Use the simplest model that captures the important features.
The linear model is a golem. It is powerful and useful, but it is still a golem. It does not know whether the relationship is truly linear, whether the errors are truly normal, or whether the predictors are truly independent. It just does what it is told. The modeler's job is to check these assumptions, compare alternatives, and interpret with humility. The linear model is a starting point, not an ending point.