Question

15. Engineers for a car manufacturer wanted to analyze the relationship between the speed x of...

15. Engineers for a car manufacturer wanted to analyze the relationship between the speed x of their new model (The Bullet) and its gas mileage y for regular unleaded gasoline. The car was test driven at different speeds in the laboratory, and the data below were collected Speed x ||| 30 40 50 60 70 80 90 Mpg y ||| 39 38 36 32 27 24 22

i. Present a scatter plot for the data

ii. Determine the correlation coefficient for the data, and interpret the value.

iii. Determine the least-squares regression line.

iv. Estimate the gas mileage at 65 mph.

Homework Answers

Answer #1

> x<-c(30,40,50,60,70,80,90)
> y<-c(39, 38, 36, 32, 27, 24, 22)
> plot(x,y)
> plot(x,y,xlab='Speed',ylab='Mileage')

> cor(x,y)
[1] -0.985349
> lmod1<-lm(y~x)
> lmod1

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept) x
50.0000 -0.3143

ii. Correlation coefficient is = -0.985, (as found by R-code of part i)

Interpretation : With increase in speed, mileage decreases and the strength of this negative relation is very high equal to

- 0.985

iii. Least squares regression line is obtained by previous R-code , and obtained equation is :

y = 50 - 0.3143*x

iv. Now for x = 65, from above equation , estimate for y = 29.5705

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
An engineer wants to determine how the weight of a​ car, x, affects gas​ mileage, y....
An engineer wants to determine how the weight of a​ car, x, affects gas​ mileage, y. The following data represent the weights of various cars and their miles per gallon. A B C D E 2600 3070 3450 3735 4180 30.1 26.5 21 22.1 17.7 (a) Find the​ least-squares regression line treating weight as the explanatory variable and miles per gallon as the response variable. Write the equation for the​ least-squares regression line. (b) Interpret the slope and​ intercept, if...
QUESTION 15 The speed x (in mph) of a car and the related average miles per...
QUESTION 15 The speed x (in mph) of a car and the related average miles per gallon y for each speed x are given. Find the quadratic regression model that best fits the following data: (30, 18), (40, 23), (50, 28), (60, 29), (70, 25) Round all calculations to two decimal places. none of these Y(x) = -.02x2 - 2.80x + 22.00 Y(x) = -.02x2 + 2.00x - 22.00 Y(x) = -.02x 2 + 1.77x - 21.54
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of pounds), and let y be the miles per gallon (mpg). x 30 44 33 47 23 40 34 52 y 33 21 22 13 29 17 21 14 Complete parts (a) through (e), given Σx = 303, Σy = 170, Σx2 = 12,123, Σy2 = 3950, Σxy = 6040, and r ≈ −0.853. (a) Draw...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of pounds), and let y be the miles per gallon (mpg). x 27 43 29 47 23 40 34 52 y 31 18 27 13 29 17 21 14 Complete parts (a) through (e), given Σx = 295, Σy = 170, Σx2 = 11,617, Σy2 = 3950, Σxy = 5794, and r ≈ −0.951. (a) Draw...
An engineer wants to determine how the weight of a​ car, x, affects gas​ mileage, y....
An engineer wants to determine how the weight of a​ car, x, affects gas​ mileage, y. The following data represent the weights of various cars and their miles per gallon. Car A B C D E Weight​ (pounds), x 2705 3065 3420 3695 4250 Miles per​ Gallon, y 27.7 22.3 21.7 18.5 16.1 ​(a) Find the​ least-squares regression line treating weight as the explanatory variable and miles per gallon as the response variable. Write the equation for the​ least-squares regression...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of pounds), and let y be the miles per gallon (mpg). x2544344723403452 y3017271329172114 Complete parts (a) through (e), given Σx = 299, Σy = 168, Σx2 = 11,915, Σy2 = 3854, Σxy = 5816, and r ≈ −0.943. (a) Draw a scatter diagram displaying the data. Selection Tool Line Ray Segment Circle Vertical Parabola Horizontal Parabola...
An engineer wants to determine how the weight of a​ gas-powered car,​ x, affects gas​ mileage,...
An engineer wants to determine how the weight of a​ gas-powered car,​ x, affects gas​ mileage, y. The accompanying data represent the weights of various domestic cars and their miles per gallon in the city for the most recent model year. Weight (pounds), x   Miles per Gallon, y 3787   18 3798   17 2725   24 3460   19 3334   20 3028   24 3808   18 2703   25 3570   19 3836   17 3370   18 ​(a) Find the​ least-squares regression line treating weight as the...
An engineer wants to determine how the weight of a gas-powered car, x, affects gas mileage,...
An engineer wants to determine how the weight of a gas-powered car, x, affects gas mileage, y. The accompanying data represent the weights of various domestic cars and their miles per gallon in the city for the most recent model year. Complete parts (a) through (d) below. LOADING... Click here to view the weight and gas mileage data. (a) Find the least-squares regression line treating weight as the explanatory variable and miles per gallon as the response variable. ModifyingAbove y...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x...
Do heavier cars really use more gasoline? Suppose a car is chosen at random. Let x be the weight of the car (in hundreds of pounds), and let y be the miles per gallon (mpg). x 28 42 29 47 23 40 34 52 y 30 17 24 13 29 17 21 14 Complete parts (a) through (e), given Σx = 295, Σy = 165, Σx2 = 11,587, Σy2 = 3701, Σxy = 5650, and r ≈ −0.945. (a) Draw...
Data on the fuel consumption yy of a car at various speeds xx is given. Fuel...
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...