Data on the fuel consumption yy of a car at various speeds xx is given. Fuel consumption is measured in mpg, and speed is measured in miles per hour. Software tells us that the equation of the least‑squares regression line is^y=55.3286−0.02286xy^=55.3286−0.02286xUsing this equation, we can add the residuals to the original data.
Speed | 1010 | 2020 | 3030 | 4040 | 5050 | 6060 | 7070 | 8080 |
---|---|---|---|---|---|---|---|---|
Fuel | 38.138.1 | 54.054.0 | 68.468.4 | 63.663.6 | 60.560.5 | 55.455.4 | 50.650.6 | 43.843.8 |
Residual | −17.00−17.00 | −0.87−0.87 | 13.7613.76 | 9.199.19 | 6.316.31 | 1.441.44 | −3.13−3.13 | −9.70−9.70 |
To access the complete data set, click the link for your preferred software format:
Excel Minitab JMP SPSS TI R Mac-TXT PC-TXT CSV CrunchIt!
(a) Use the software of your choice to make a scatterplot of the observations. Have the software include the regression line on the plot, or print the scatterplot and draw the regression line provided on your plot.
(b) Would you use the regression line to predict yy from x?x?
No, the pattern is a straight line, so linear regression is not appropriate for prediction.
Yes, the pattern is a straight line, so linear regression is appropriate for prediction.
Yes, the pattern is nonlinear, so linear regression is appropriate for prediction.
No, the pattern is nonlinear, so linear regression is not appropriate for prediction.
(c) On a separate sheet of paper, verify the value of the first residual, for x=10.x=10. Then verify that the residuals add up to 0.0.
(d) Now use the residuals and x-valuesx-values in the table to make a plot of the residuals against the values of x,x, also on a separate sheet of paper. Draw a horizontal line at height 00 on your plot.
Compare your scatter plot with your regression plot. How does the pattern of the residuals about this line compare with the pattern of the data points about the regression line in your original scatterplot?
The observations in the scatter plot that are above the regression line have
and the observations in the scatter plot that are below the regression line have
The distance of the observations above the regression line is
the value of the residual, and the distance of the observations below the regression line is
the absolute value of the residual. Therefore, the pattern of the residuals is
the pattern of the data points about the regression line in the original scatterplot.
Get Answers For Free
Most questions answered within 1 hours.