Miles Per Gallon Study - Regression Models Jeff Gibson May 15, 2016 Executive Summary The purpose of this analysis is to answer the following questions: • Is an automatic or manual transmission better for MPG • Quantify the MPG difference between automatic and manual transmissions In thinking about the data, one would assume that the weight of the car would have some influence on mpg. And from the general laws of physics, we would also assume that more cylinders, which usually results in a quicker acceleration, would also have influence on mpg. After all, faster acceleration would burn more energy and a system designed for that would seem to require more energy (gasoline). With those assumptions in mind, it will be shown that the transmission type is not a very significant influence on the mpg. The data will show that weight and the number of cylinders are much more significant factors affecting the miles per gallon.
Exploratory Analysis Simple Linear Regression In the exploratory analysis, I first looked at the possible influence of transmission type on mpg. See Appendix A for a box plot, regression line, and residual plots for this. Although there appears to be a regression line and the residuals look balanced (around the zero line), the interesting fact is that the R squared value is low. data(mtcars) fit.transtype