Do heavier cars get worse gas mileage, and by how much?
- Data:
mtcars(32 cars, from Motor Trend 1974) - Response \(y\): miles per gallon (
mpg) - Predictor \(x\): weight in 1000 lbs (
wt)
We use simple linear regression to estimate how mpg changes as weight goes up.