This week we will briefly describe some of the theory behind linear models, and demonstrate how to fit linear models in R-- along with a basic tutorial of model selection, diagnosing goodness-of-fit, and null hypothesis testing. If you would like to follow along in class with the code shown in the slides, please download the script and data below and install the packages 'car', 'bbmle', and 'multcomp'.
Course Materials: