Question

In: Statistics and Probability

The following table shows the miles per gallon of various cars and their weight in pounds....

The following table shows the miles per gallon of various cars and their weight in pounds. Suppose we are interested in predicting the miles per gallon of a car based on its weight.

Car

Weight

MPG

Buick Lucerne

3735

17

Cadillac CTS

3860

16

Chevrolet Cobalt

2721

25

Chevrolet Impala

3555

19

Chrysler Sebring Sedan

3319

21

Dodge Caliber

2966

23

Dodge Charger

3727

17

Ford Focus

2605

24

Ford Mustang

3473

19

Lincoln MKZ

3796

17

Mercury Sable

3310

18

Compute the correlation coefficient, and explain what this tells us about the relationship between weight and MPG of a car. (2pts)

Give the equation of the regression line. (2pts)

Write a sentence interpreting the y-intercept. (2pts)

Write a sentence interpreting the slope. (2pts)

A Subaru Legacy weighs 3500 pounds. Using the equation of the regression line, what would you predict the MPG of this car to be? (2pts)

The approximate fuel mileage of a Subaru Legacy is 25 MPG. Give the residual for the Subaru Legacy. (2pts)

Solutions

Expert Solution

Answer:

Follow the given procedure to perform Regression Analysis in MS-Excel.

Enter the given data into Excel worksheet as,

Car Weight (x) MPG (y)
Buick Lucerne 3735 17
Cadillac CTS 3860 16
Chevrolet Cobalt 2721 25
Chevrolet Impala 3555 19
Chrysler Sebring Sedan 3319 21
Dodge Caliber 2966 23
Dodge Charger 3727 17
Ford Focus 2605 24
Ford Mustang 3473 19
Lincoln MKZ 3796 17
Mercury Sable 3310 18
1.Enter the data into Excel sheet.
2.If this is the first time you have used an Excel add-in, click the File tab, otherwise skip to step 7.
3.Click Options from the list on the left.
4.Select Add-ins in the Excel Options box.
5.In the Add-in list box, select Analysis Toolbox-VBA from the Inactive Application Add-ins list.
6.Click OK.
7.Then select Data/ Data Analysis tab from the menu bar.
8.The Data Analysis dialog box will appear on the screen.
9.From the Data Analysis dialog box, select Regression and click OK.
10.The Regression dialog box will appear on the screen.
11.Place independent variables (Weight) in Input X Range and place dependent variable (MPG) in Input Y Range.
12.Place appropriate confidence level in Confidence Level box. (If necessary)
13.Click OK.
The MS Excel output is as follows:

Summary:

Regression Statistics
Multiple R 0.959626
R Square 0.920883
Adjusted R Square 0.912092
Standard Error 0.93075
Observations 11

ANOVA Table:

df SS MS F Significance F
Regression 1 90.7488 90.7488 104.7551 2.95E-06
Residual 9 7.796653 0.866295
Total 10 98.54545
Coefficients Standard Error t Stat P-value
Intercept 42.90678 2.290867 18.72949 1.62E-08
Weight (slope) -0.00691 0.000675 -10.235 2.95E-06

Now,

I)

Correlation between Weight and MPG:

Procedure:

1.Enter the data into Excel sheet.
2.If this is the first time you have used an Excel add-in, click the File tab, otherwise skip to step 7.
3.Click Options from the list on the left.
4.Select Add-ins in the Excel Options box.
5.In the Add-in list box, select Analysis Toolbox-VBA from the Inactive Application Add-ins list.
6.Click OK.
7.Then select Data/ Data Analysis tab from the menu bar.
8.The Data Analysis dialog box will appear on the screen.
9.From the Data Analysis dialog box, select Correlation and click OK.
10.The Correlation dialog box will appear on the screen.
11.Give the range of data (Select the columns corresponding to weight and MPG) in Input Range.
12.Then select the Columns options in the Grouped By tab. Then click on Labels in first row.
13.Give the Output Range. Click OK.
The MS Excel output will appear on the screen.

The output is,

Weight MPG
Weight 1
MPG -0.95963 1

From the above output, the correlation between weight and MPG is r = -9596.

Here we conclude that, there is strongly negative relationship (inverse correlation) between weight and MPG of a car i.e., they are uncorrelated.

II)

From above output, the equation of regression line is given by,

where x = weight of car and = predicred MPG of a car.

III)

Interpretation of y-intercept:

The y-intercept is simply the value at which the fitted line crosses the y-axis. The intercept is the expected mean value of y whrn all x = 0.

IV)

Here slope = -0.0069

The function with negative slope represents a negative correlation between two variables.

We conclude that, the MPG is expected to increase (or decrease) by 0.0069 on average per every 1 pound decrease (or increase) in weight.

V)

A Subaru Legacy weighs 3500 pounds i.e., x = 3500

Then from the above regression equation, the predicted value of MPG is given by,

Therefore, the predicted MPG for Sabaru Legacy car with weight 3500 pounds is 19.


Related Solutions

Twenty-five different cars were​ tested, and their weights​ (in pounds) and mileage​ (miles per​ gallon) were...
Twenty-five different cars were​ tested, and their weights​ (in pounds) and mileage​ (miles per​ gallon) were measured. The regression of mileage on weight has the MINITAB regression output shown below. Answer parts ​a-d. Predictor Coef SE Coef T P Constant 49.01549.015 2.5492.549 19.22919.229 0.000 Weight negative 0.006672−0.006672 0.00078890.0007889 negative 8.457−8.457 0.000 For the prediction equation determine the value of the​ y-intercept and the slope? Interpret the slope in terms of a​ 1000-pound increase in the vehicle weight? Interpret the​ y-intercept?
The data in the table represent the weights of various domestic cars and their miles per...
The data in the table represent the weights of various domestic cars and their miles per gallon in the city for the 2008 model year. For the data from the first 11​ cars, the​ least-squares regression line is y=−0.0062x+42.4755. A twelfth car weighs 2,705 pounds and gets 14 miles per gallon. Compute the coefficient of determination of the expanded data set​ (including the twelfth​ car). What effect does the addition of the twelfth car to the data set have on...
The data in the table represent the weights of various domestic cars and their miles per...
The data in the table represent the weights of various domestic cars and their miles per gallon in the city for the 2008 model year. For these​ data, the​ least-squares regression line is ModifyingAbove y with -0.006x + 42.216. A twelfth car weighs 3,425 pounds and gets 12 miles per gallon. ​(a) Compute the coefficient of determination of the expanded data set. What effect does the addition of the twelfth car to the data set have on Rsquared​? ​ (b)...
The accompanying data represent the miles per gallon of a random sample of cars with a​...
The accompanying data represent the miles per gallon of a random sample of cars with a​ three-cylinder, 1.0 liter engine. ​(a) Compute the​ z-score corresponding to the individual who obtained 41.4 miles per gallon. Interpret this result. ​(b) Determine the quartiles. ​(c) Compute and interpret the interquartile​ range, IQR. ​(d) Determine the lower and upper fences. Are there any​ outliers? 32.7 34.0 34.7 35.4 36.0 36.2 37.3 37.6 37.7 37.9 38.1 38.5 38.6 39.0 39.2 39.4 39.9 40.7 41.4 41.8...
The accompanying data represent the miles per gallon of a random sample of cars with a​...
The accompanying data represent the miles per gallon of a random sample of cars with a​ three-cylinder, 1.0 liter engine. ​(a) Compute the​ z-score corresponding to the individual who obtained 36.3 miles per gallon. Interpret this result. ​(b) Determine the quartiles. ​(c) Compute and interpret the interquartile​ range, IQR. ​(d) Determine the lower and upper fences. Are there any​ outliers? LOADING... Click the icon to view the data 32.5 35.9 38.0 38.6 39.9 42.4 34.4 36.3 38.1 38.7 40.6 42.7...
The accompanying data represent the miles per gallon of a random sample of cars with a​...
The accompanying data represent the miles per gallon of a random sample of cars with a​ three-cylinder, 1.0 liter engine. ​(a) Compute the​ z-score corresponding to the individual who obtained 38.4 miles per gallon. Interpret this result. ​(b) Determine the quartiles. ​(c) Compute and interpret the interquartile​ range, IQR. ​(d) Determine the lower and upper fences. Are there any​ outliers? 32.5; 35.9; 37.6; 38.6; 40.4; 42.5; 34.0; 36.2; 37.8; 38.9; 40.6; 42.6; 34.7; 37.3; 38.1; 39.4 ;41.3; 43.4; 35.6; 37.4;...
the accompanying data represent the miles per gallon of a random sample of cars with a​...
the accompanying data represent the miles per gallon of a random sample of cars with a​ three-cylinder, 1.0 liter engine. ​(a) compute the​ z-score corresponding to the individual who obtained 38.7 miles per gallon. interpret this result. ​(b) determine the quartiles. ​(c) compute and interpret the interquartile​ range, iqr. ​(d) determine the lower and upper fences. are there any​ outliers?39.939.9 42.442.4 34.634.6 36.336.3 38.138.1 38.938.9 40.540.5 42.842.8 34.734.7 37.537.5 38.338.3 39.439.4 41.441.4 43.643.6 35.235.2 37.637.6 38.538.5 39.739.7 41.641.6 49.049.0
The accompanying data represent the miles per gallon of a random sample of cars with a​...
The accompanying data represent the miles per gallon of a random sample of cars with a​ three-cylinder, 1.0 liter engine. ​(a) Compute the​ z-score corresponding to the individual who obtained 39.839.8 miles per gallon. Interpret this result. ​(b) Determine the quartiles. ​(c) Compute and interpret the interquartile​ range, IQR. ​(d) Determine the lower and upper fences. Are there any​ outliers? 32.4 34.1 34.5 35.7 36.1 36.3 37.5 37.7 37.9 38.1 38.3 38.5 38.7 39.1 39.5 39.8 39.9 40.6 41.3 41.6...
The accompanying data represent the miles per gallon of a random sample of cars with a​...
The accompanying data represent the miles per gallon of a random sample of cars with a​ three-cylinder, 1.0 liter engine. ​(a) Compute the​ z-score corresponding to the individual who obtained 32.7 miles per gallon. Interpret this result. ​(b) Determine the quartiles. ​(c) Compute and interpret the interquartile​ range, IQR. ​(d) Determine the lower and upper fences. Are there any​ outliers? 32.7 35.9 38.0 38.7 40.2 42.2 34.4 36.2 38.1 38.9 40.7 42.7 34.6 37.5 38.2 39.5 41.5 43.6 35.2 37.8...
Miles per Gallon. The following stem-leaf plot is representing the number of miles per gallon achieved...
Miles per Gallon. The following stem-leaf plot is representing the number of miles per gallon achieved on the highway for 2013 small car models. Construct an Ogive of data by first construction a cumulative frequency table with class width of five. Include: Limits, frequency, and cumulative frequency. 2 2       means 22 miles per gallon 2 2 2 5 7 9 9 9 9 9 3 0 0 0 0 0 1 1 1 2 2 2 2 2 3 3...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT