Simple linear regression estimates how one quantitative variable changes when another quantitative variable changes.
In this presentation, the goal is to predict fuel efficiency using the built-in mtcars dataset:
- Response variable: miles per gallon (
mpg) - Predictor variable: car weight (
wt), measured in thousands of pounds
The practical question is simple: Do heavier cars tend to use more fuel?