Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The data below presents the highway gasoline performance and engine displacement for 21 Daimler Chrysler vehicles for model year 2005 (U.S. Environmental Protection Agency). Data

The data below presents the highway gasoline performance and engine displacement for 21 Daimler Chrysler vehicles for model year 2005 (U.S. Environmental Protection Agency).

Data attached to the Picture a. Use R to construct a scatter plot of highway miles per gallon (y) versus engine displacement (x) in cubic inches. Attach the R code and output. b. Comment on the relationship between highway miles per gallon (y) and engine displacement (x) in cubic inches based on your scatterplot in part (a). c. Use R to calculate the sample correlation coefficient between variables x and Y. Attach the R code and output. d. Use R to fit a simple linear (least square) regression model relating highway miles per gallon (Y) to engine displacement (x) in cubic inches. Attach the R code. e. Give the R code and output that will show you the fitted regression coefficients 0 1 ? ? and ? ? . f. What is the fitted simple linear regression equation for x and Y based on your answer in part (e)? g. Do it by hand. For the 11th observation in the data, find the fitted value of y and the corresponding residual for a car, the Neon, with an engine displacement of 122 cubic inches. That is, find ?11y and e11.

h. Use R to draw the normal probability plot for the residuals of the fitted simple linear regression equation. Attach the R code and output. i. From the normal probability plot in part (h), does the normality assumption for linear models appear to be satisfied? Explain. j. Use R to produce an Analysis of Variance (ANOVA) table for the data. Attach the R code and output. k. From your ANOVA table in part (j), what is the value of SSE, the error sum of squares? l. From your ANOVA table in part (j), what is the value of SSR, the regression sum of squares? m. Calculate the sample multiple coefficient of determination by hand. Then interpret this value. n. According to your answer in part (m), do you think the fitted regression equation in part (f) is a good model for describing the relationship between highway miles per gallon (y) and engine displacement (x) in cubic inches? Explain. o. Use the following R output to construct, by hand, a two-sided 95% confidence interval for ?1. Call: lm(formula = y ~ x) Residuals: Min 1Q Median 3Q Max -6.8035 -1.9666 -0.4035 1.4280 7.0509 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 39.155505 2.006358 19.516 4.97e-14 *** x -0.040216 0.007671 -5.243 4.63e-05 *** --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 3.743 on 19 degrees of freedom Multiple R-squared: 0.5913, Adjusted R-squared: 0.5698 F-statistic: 27.49 on 1 and 19 DF, p-value: 4.634e-05

image text in transcribed
TABLE . E11-3 Gasoline Mileage Data Engine MPG Carline Displacement (in') (highway) 300C/SRT-8 215 30.8 CARAVAN 2WD 201 32.5 CROSSFIRE 196 35.4 ROADSTER DAKOTA PICKUP 2WD 226 28.1 DAKOTA PICKUP 4WD 226 24.4 DURANGO 2WD 24.1 GRAND 28.5 CHEROKEE 2WD GRAND 348 24.2 CHEROKEE 4WD LIBERTY/ 148 12.H LIBERTY/ 224 CHEROKEE 4WD NEONART-1/5X 20 122 41.3 PACIFICA 2WD 215 30.0 PACIFICA AWD 215 28.2 PT CRUISER 14K 34.1 RAM 1500 PICKUP SOO 18.7 2WD RAM 1500 PICKUP 348 20.3 4WD SEBRING 4-DR 165 35.1 STRATUS 4-DR 148 37.9 TOWN & COUNTRY 148 33.8 2WD VIPER CONVERTIBLE 500 25.9 WRANGLER/TI 4WD 146 26.4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

Students also viewed these Mathematics questions

Question

What influences peoples choice of values?

Answered: 1 week ago