Q6). We are interested in exploring the relationship between the weight of a vehicle and its fuel efficiency (gasoline mileage). The data in the table show the weights, in pounds, and fuel efficiency, measured in miles per gallon, for a sample of 12 vehicles.
Weight |
Fuel Efficiency |
---|---|
2710 | 24 |
2550 | 24 |
2680 | 29 |
2720 | 38 |
3000 | 25 |
3410 | 22 |
3640 | 21 |
3700 | 27 |
3880 | 21 |
3900 | 19 |
4060 | 21 |
4710 | 16 |
Part (c) Find the equation of the best fit line. (Round your answers to four decimal places.)
? = x +
Part (g) For the vehicle that weighs 3000 pounds, find the residual (y ? ?). (Round your answer to two decimal places.)
( )
Part (i) Remove the outlier from the sample data. Find the new correlation coefficient and coefficient of determination. (Round your answers to two decimal places.)
correlation coefficient ( ) | |||
coefficient of determination ( ) |
Find the new best fit line. (Round your answers to four
decimal places.)
? = x +
> ###########################33
> fuel_efficiency=c(24,24,29,29,25,22,21,27,21,19,21,16)
> weight=c(2710,2550,2680,2720,3000,3410,3640,3700,3880,3900,4060,4710)
> cor(fuel_efficiency,weight)
[1] -0.7931175
> reg=lm(fuel_efficiency~weight)
> summary(reg)
Call:
lm(formula = fuel_efficiency ~ weight)
Residuals:
Min 1Q Median 3Q Max
-3.1326 -1.3903 -0.5954 1.2191 5.1502
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 38.846761 3.876886 10.020 1.56e-06 ***
weight -0.004594 0.001116 -4.118 0.00208 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 2.524 on 10 degrees of freedom
Multiple R-squared: 0.629, Adjusted R-squared: 0.5919
F-statistic: 16.96 on 1 and 10 DF, p-value: 0.002084
>
Now we are removeing outlier from data and doing above thimgs.
> fuel_efficiency=c(24,24,29,29,25,22,27,19,16)
> weight=c(2710,2550,2680,2720,3000,3410,3700,3900,4710)
> cor(fuel_efficiency,weight)
[1] -0.7721002
> reg=lm(fuel_efficiency~weight)
> summary(reg)
Call:
lm(formula = fuel_efficiency ~ weight)
Residuals:
Min 1Q Median 3Q Max
-3.205 -1.939 -1.179 2.398 5.133
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 39.041563 4.816762 8.105 8.38e-05 ***
weight -0.004642 0.001444 -3.214 0.0148 *
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 2.97 on 7 degrees of freedom
Multiple R-squared: 0.5961, Adjusted R-squared: 0.5384
F-statistic: 10.33 on 1 and 7 DF, p-value: 0.01477
Q6). We are interested in exploring the relationship between the weight of a vehicle and its...
Modern medical practice tells us not to encourage babies to become too fat. Is there a positive correlation between the weight x of a 1-year old baby and the weight y of the mature adult (30 years old)? A random sample of medical files produced the following information for 14 females. 21 27 25 2420 15 25 21 17 24 6 22 18 19 lb 120 125 120 125 130 120 145 130 130 130 130 140 110 115 In...
he follo 2. Do heavier cars really use more gasoline? Suppose that a car is chosen at random. Let x be the weight of the car (in pounds), and let y be the miles per gallon (mpg). The following information is based on data taken from Consumer Reports (vol. 62, no. 4). cystolic 3400 5200 21 14 - Weight of Car (in pounds) 2700 4400 3200 4700 2300 4000 y-Miles per Gallon 30 19 24 13 29 17 . Find...
Directions: There are THREE questions on this take home quiz along with one extra credit ques- tion. Carefully write up your answers (and work) to the following questions on a SEPARATE piece of paper. You may work with up to two other people. Make sure that if you do choose to work in a group, you submit only one set of answers with all of your names on it. Since this is a take-home assignment you may talk with other...
Modern medical practice tells us not to encourage babies to become too fat. Is there a positive correlation between the weight x of a 1-year-old baby and the weight y of the mature adult (30 years old)? A random sample of medical files produced the following information for 14 female subjects: X(lb)| 21 25 23 24 20 15 25 21 17 24 26 22 18 19 y (lb) 125 125 120 125 130 120 145 130 130 130 130 140...
A sociologist is interested in the relation between x = number of job changes and y = annual salary (in thousands of dollars) for people living in the Nashville area. A random sample of 10 people employed in Nashville provided the following information. x (number of job changes) 3 7 6 6 1 5 9 10 10 3 y (Salary in $1000) 34 33 38 32 32 38 43 37 40 33 In this setting we have Σx = 60,...
What is the relationship between the number of minutes per day a woman spends talking on the phone and the woman's weight? The time on the phone and weight for 9 women are shown in the table below. 28 15 Time Pounds 68 149 22 100 64 124 57 143 67 141 101 77 126 68 127 100 0 a. Find the correlation coefficient: r = Round to 2 decimal places. b. The null and alternative hypotheses for correlation are:...
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 29 44 33 47 23 40 34 52 y 32 20 26 13 29 17 21 14 Complete parts (a) through (e), given Σx = 302, Σy = 172, Σx2 = 12,064, Σy2 = 4036, Σxy = 6066, and r ≈ −0.902. (a) Draw...
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 43 31 47 23 40 34 52 y 30 21 22 13 29 17 21 14 Complete parts (a) through (e), given Σx = 300, Σy = 167, Σx2 = 11,908, Σy2 = 3761, Σxy = 5885, and r ≈ −0.888. (a) Draw...
We will analyze the difference in the fuel efficiency of two new brands of hybrid vehicles. The standard deviations of these two populations are unknown, but the engineers from these companies believe that they are equal. A sample of 38 hybrid vehicles produced by Forde Motors had a mean of 70.3 MPG and standard deviation of 1.6 MPG, and a sample of 33 hybrid vehicles produced by GeM motors had a mean of 69.7 MPG and standard deviation of 4.9 MPG....
1) 2) The data show the chest size and weight of several bears. Find the regression equation, letting chest size be the independent (x) variable. Then find the best predicted weight of a bear with a chest size of 58 inches. Is the result close to the actual weight of 632 pounds? Use a significance level of 0.05. Chest size (inches) 46 57 53 41 Weight (pounds) 384 580 542 358 306 320 Click the icon to view the critical...