Regression Model Project

Report 19 Downloads 92 Views
Regression Model Project Borys Sobiegraj 30 grudnia 2016

Report Executive Summary The analysis below takes on a question of comaprative influance of transmition type (atomatic and manual) on mpg. The main questions posed are: 1. Is an automatic or manual transmission better for MPG ? 2. Quantify the MPG difference between automatic and manual transmissions. We are gone go through steps of: Getting familiar with the data set, Producing a basic models relating mpg to transmition type, Putting its quality in context of models based on other varaibles.

Analysis We start with familiarizing ourselves with the dataset: ?mtcars head(mtcars) str(mtcars) summary(mtcars) table(mtcars$am) Given this infomration we find that: all variables are numeric, the variable for mpg and transmition are respectively “mpg” providing exactly miles per galon value and “am” (0 = automatic, 1 = manual). We also checked the relations between variables using ggpairs funciton (plot 1 in appendix) to better grasp relation between variables - plot 1 in appendix. There is a resonable amount of points to create a model (automatic = 19 and manual 13 transmition cars) starting with a one regressor model: FitAM_NumericModel