Linear regression model to predict mpg


Question: A sample of twenty automobiles was taken, and the miles per gallon (MPG), horsepower and total weight were recorded. Develop a linear regression model to predict MPG using horsepower as the only independent variable. Develop another model with weight as the independent variable. Which of these two models is better? Explain.

MPG   HorsePower   Weight

44            67           1844
44            50           1998
40            62           1752
37            69           1980

MPG   HorsePower   Weight

37         66              1797
34         63              2199
35         90              2404
32         99              2611
30         63              3236
28         91              2606
26         94              2580
26         88              2507
25        124             2922
22        97               2434
20       114              3248
21       102              2812
18       114              3382
18       142              3197
16       153              4380
16       139              4036

Solution Preview :

Prepared by a verified Expert
Basic Statistics: Linear regression model to predict mpg
Reference No:- TGS01738053

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)