In this lab, we are going to work through the multiple linear regression lab written by Adam Loy:  Multiple linear regression

Notes:

  • The function multiLines used in Exercise 8 of the lab requires that you load the Hmisc library.
  • If you are unable to load the data set using the first two lines of code in the lab, try the following
evals <- read.csv("http://www.math.montana.edu/shancock/courses/stat401/data/evals.csv")

 

You may want to review the R code for model selection techniques from class here.