.Which variables/coefficients provided a non-random amount of variance to the mpg values in the dataset?
Vehicle weight, AWD, and spoiler_angle provided a non-random amount of variance.
The two variables that had the most amount of random variance are ground_clearance and vehicle_length.
.Is the slope of the linear model considered to be zero? Why or why not?
Our slope is not zero just by looking at the p-value, which is less than 0.05.
.Does this linear model predict mpg of MechaCar prototypes effectively? Why or why not?
Our R-squared value is 71%, which means roughly ~71% of the time the model will predict mpg values correctly.
There are probably other factors that were not captured in the datasaet that contribute to the mpg variability
of the MechaCar prototypes.
.The design specifications for the MechaCar suspension coils dictate that the variance of the suspension coils
must not exceed 100 pounds per square inch. Does the current manufacturing data meet this design specification
for all manufacturing lots in total and each lot individually? Why or why not?
Lot1 and Lot2 are both within design specifications and have nearly the same exact mean and median.
Lot3 shows the most variance and exceeds the manufacturers specs.
.Lot 1 and Lot 3 the PSI values are not different from the population mean. However lot 2 the p-value is .
347 which means there is evidence that the suspension coil is different from the population mean.
All t-tests can be seen below:
.One feature that people are interested in when buying a car is how much horsepower the car has. I think horsepower, mpg and how large the engine is are 3 factors that go into consumer decision making. We can use our tests to see if our MechaCar is much different from the competiton. We can make a null hypothesis stating that it is not different from the competition and our Alternative would be the opposite. To do this we will need to use our t-test after collecting data from different types of competitor vehicles. Our t-test will be comparing the population of all types of competitor vehicles.