Car Horsepower and Gas Mileage II
Students in the Introduction to Environmental Studies course were interested in what characteristics of cars affected the gas mileage (miles per gallon) of a car. Using an internet search they recorded several variables on a sample of makes of cars (note that these data are industry-reported summaries for the make of a car, not measurements on an individual car). Two of the variables that they recorded were mpg (miles per gallon of gasoline for the car) and hp (horsepower of the car engine). These data, along with many other variables are in CarMPG.csv (download, meta). Use these data to compute a model that can be used to predict the mpg of a car from its horsepower.
- Assess the independence assumption.
- Thoroughly test the linearity assumption.
- Thoroughly test the homoscedasticity assumption.
- Thoroughly (use all possible options) test the normality assumption.
- Thoroughly (use all possible options) test the outliers assumption.