For this project I have taken the mtcars dataset from R base.
- The mtcars is a data frame with 32 views with 11 variables .
- The variables of this data frame are mpg, cyl, disp, hp, drat, wt, qsec, vs, am, gear, carb
The objective of this project is to predict the MPG in base of the HP from the cars.
There two predictions: 1. The first one is linear model and, 2. The second one is linear model with two slopes.