Week 3: Linear Models

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: 

Slides (linmod.pdf)

Script (example_script_Sep12-2014.R)

Data (Bombus_pesticide.csv)