Simple linear regression studies how one variable (the response \(Y\)) changes with another variable (the predictor \(x\)).
- We fit a straight line through the data
- We can use the line to describe the relationship
- We can use the line to predict new values
Our question: do heavier cars get fewer miles per gallon?
- \(Y\) =
mpg(miles per gallon) - \(x\) =
wt(weight in 1000 lbs)