Heavier cars seem like they would use more gas.
My question: Does a car’s weight affect its miles per gallon (mpg)?
I used the mtcars dataset that comes with R. It has 32 cars from a 1974 Motor Trend magazine.
Variables I used:
- wt = weight (in 1000 lbs)
- mpg = miles per gallon
- hp = horsepower