Press "Enter" to skip to content

Multiple Regression

Anastasios Markitsis is starting a series of exercises on multiple regression in R:

Exercise 1

a. Load the state datasets.
b. Convert the state.x77 dataset to a dataframe.
c. Rename the Life Exp variable to Life.Exp, and HS Grad to HS.Grad. (This avoids problems with referring to these variables when specifying a model.)

Click through for the rest of the exercises as well as the answers.