Multiple linear regression models the relationship between one response variable and two or more explanatory variables.
For this example, the goal is to predict a car’s fuel economy using:
- MPG: miles per gallon
- Weight: vehicle weight in thousands of pounds
- Horsepower: engine horsepower
The mtcars dataset contains measurements for 32 automobiles.