How to extend linear regression to specify and estimate generalized linear models and additive models.