12.1 Introduction

This week we will start to dive into the world of generalized linear models and their implementation and interpretation in R. Before we can do that, we will talk about why we might like to use these methods, and the fact that the GLM actually represents a broad class of models that are highly flexible and incredibly useful. By the end of this week, we want you to be thinking of this as a kind of “go-to” tool for modeling complex, real-world data. Then, we will continue to layer complexity on this framework to extend it further over the next couple of chapters.

We’ll work with some packages from the tidyverse and we’ll use the StillwaterChoice data from the class data folder. You can go ahead and load those whenever you are ready to get started.

library(tidyverse)