Question

In: Statistics and Probability

The excel file gives the city and highway gas mileage for 21 two-seater cars, including the...

The excel file gives the city and highway gas mileage for 21 two-seater cars, including the Leaf hybrid car:

Type City Hwy
T 17 24
T 20 28
T 20 28
T 17 25
T 18 25
T 12 20
T 11 16
T 10 16
T 17 23
T 60 66
T 9 15
T 9 13
T 15 22
T 12 17
T 22 28
T 16 23
T 13 19
T 20 26
T 20 29
T 15 23
T 26 32
M 12 19
M 21 29
M 19 27
M 19 28
M 16 23
M 18 26
M 16 23
M 18 23
M 25 32
M 23 31
M 20 29
M 18 26
M 14 22

Make a scatterplot of highway mileage y against city mileage x for all 21 cars. There is a strong positive linear association. The Leaf lies far from the other points. Does the Leaf extend the linear pattern of the other cars, or is it far from the line they form?
(b) Find the correlation between city and the highway mileage both without and with the Leaf. Based on your answer to (a), explain why r changes in this direction when you add the Leaf.

Please, give a detailed answer. Thank you!

Solutions

Expert Solution

a)

Yes the Leaf extend the linear pattern of the other cars.

b)

Without Leaf

ΣX ΣY Σ(x-x̅)² Σ(y-ȳ)² Σ(x-x̅)(y-ȳ)
total sum 379 518 2256.952381 2324.7 2275.33
mean 18.05 24.67 SSxx SSyy SSxy

sample size ,   n =   21          
here, x̅ = Σx / n=   18.05   ,     ȳ = Σy/n =   24.67  
                  
SSxx =    Σ(x-x̅)² =    2256.9524          
SSxy=   Σ(x-x̅)(y-ȳ) =   2275.3          
                  
estimated slope , ß1 = SSxy/SSxx =   2275.3   /   2256.952   =   1.0081
                  
intercept,   ß0 = y̅-ß1* x̄ =   6.4721          
                  
so, regression line is   Ŷ =   6.4721   +   1.0081   *x
                  
SSE=   (SSxx * SSyy - SS²xy)/SSxx =    30.803          
                  
std error ,Se =    √(SSE/(n-2)) =    1.273          
                  
correlation coefficient ,    r = Sxy/√(Sx.Sy) =   0.9934         

With Leaf:

ΣX ΣY Σ(x-x̅)² Σ(y-ȳ)² Σ(x-x̅)(y-ȳ)
total sum 618 856 2404.941176 2514.9 2433.94
mean 18.18 25.18 SSxx SSyy SSxy

sample size ,   n =   34          
here, x̅ = Σx / n=   18.18   ,     ȳ = Σy/n =   25.18  
                  
SSxx =    Σ(x-x̅)² =    2404.9412          
SSxy=   Σ(x-x̅)(y-ȳ) =   2433.9          
                  
estimated slope , ß1 = SSxy/SSxx =   2433.9   /   2404.941   =   1.0121
                  
intercept,   ß0 = y̅-ß1* x̄ =   6.7808          
                  
so, regression line is   Ŷ =   6.7808   +   1.0121   *x
                  
SSE=   (SSxx * SSyy - SS²xy)/SSxx =    51.650          
                  
std error ,Se =    √(SSE/(n-2)) =    1.270          
                  
correlation coefficient ,    r = Sxy/√(Sx.Sy) =   0.9897          

R changes a bit in negative direction(less) when we added the Leaf because few of the hybrid x can not be explained by the model.

Please revert in case of any doubt.

Please upvote. Thanks in advance


Related Solutions

City Mileage, Highway Mileage. We expect a car's highway gas mileage to be related to its...
City Mileage, Highway Mileage. We expect a car's highway gas mileage to be related to its city gas mileage (in miles per gallon, mpg). Data for all 1137 vehicles in the government's 2013 Fuel Economy Guide give the regression line highway mpg = 6.785 + (1.033 x city mpg) for predicting highway mileage from city mileage. (a) What is the slope of this line? Say in words what the numerical value of the slope tells you. (b) What is the...
1. The data below is the city gas mileage for a sample of hybrid cars, as...
1. The data below is the city gas mileage for a sample of hybrid cars, as reported by the Environmental Protection Agency in 2007. 30, 36, 33, 27, 31, 25, 28, 31, 45 mpg Construct and interpret a 95% confidence interval for the population mean for the miles per gallon of hybrids. You may assume that the population of gas mileage normally distributed with no outliers. Answer the following:                         a What is...
4. In a recent publication, it was reported that the average highway gas mileage of tested...
4. In a recent publication, it was reported that the average highway gas mileage of tested models of a new car was 33.2 mpg with a standard deviation of 2.5 mpg, with the mileages approximately normally distributed. H0 : µ = 33.2 Ha : µ < 33.2 Part a: Describe a Type II error in the context of the hypothesis test. Part b: If a simple random sample of 100 cars is selected, what values of the sample mean ¯x...
4. In a recent publication, it was reported that the average highway gas mileage of tested...
4. In a recent publication, it was reported that the average highway gas mileage of tested models of a new car was 33.2 mpg with a standard deviation of 2.5 mpg, with the mileages approximately normally distributed. H0 : µ = 33.2 Ha : µ < 33.2 Part a: Describe a Type II error in the context of the hypothesis test. Part b: If a simple random sample of 100 cars is selected, what values of the sample mean ¯x...
In a recent publication, it was reported that the average highway gas mileage of tested models...
In a recent publication, it was reported that the average highway gas mileage of tested models of a new car was 33.5 mpg. A consumer group conducts its own tests on a simple random sample of 12 cars of this model and finds that the mean gas mileage for their vehicles is 31.6 mpg with a standard deviation of 3.4 mpg. a) Choose an appropriate significance test for the consumer group to perform to test the publication's assertion. b) The...
In a recent publication, it was reported that the average highway gas mileage of tested models...
In a recent publication, it was reported that the average highway gas mileage of tested models of a new car was 33.2 mpg with a standard deviation of 2.5 mpg, with the mileages approximately normally distributed. H0 :μ=33.2 Ha :μ<33.2 Part a: Describe a Type II error in the context of the hypothesis test. Part b: If a simple random sample of 100 cars is selected, what values of the sample mean x ̄ would represent sufficient evidence to reject...
A sample of 20 cars, including measurements of fuel consumption (city mi/gal and highway mi/gal), weight...
A sample of 20 cars, including measurements of fuel consumption (city mi/gal and highway mi/gal), weight (pounds), number of cylinders, engine displacement (in liters), amount of greenhouse gases emitted (in tons/year), and amount of tailpipe emissions of NOx (in lb/yr). CAR CITY HWY WEIGHT CYLINDERS DISPLACEMENT MAN/AUTO GHG NOX Chev. Camaro 19 30 3545 6 3.8 M 12 34.4 Chev. Cavalier 23 31 2795 4 2.2 A 10 25.1 Dodge Neon 23 32 2600 4 2 A 10 25.1 Ford...
A sample of 20 cars, including measurements of fuel consumption (city mi/gal and highway mi/gal), weight...
A sample of 20 cars, including measurements of fuel consumption (city mi/gal and highway mi/gal), weight (pounds), number of cylinders, engine displacement (in liters), amount of greenhouse gases emitted (in tons/year), and amount of tailpipe emissions of NOx (in lb/yr). CAR CITY HWY WEIGHT CYLINDERS DISPLACEMENT MAN/AUTO GHG NOX Chev. Camaro 19 30 3545 6 3.8 M 12 34.4 Chev. Cavalier 23 31 2795 4 2.2 A 10 25.1 Dodge Neon 23 32 2600 4 2 A 10 25.1 Ford...
Use the data below, showing a summary of highway gas mileage for several observations, to decide...
Use the data below, showing a summary of highway gas mileage for several observations, to decide if the average highway gas mileage is the same for midsize cars, SUV’s, and pickup trucks. Test the appropriate hypotheses at the α = 0.01 level. n Mean Std. Dev. Midsize 31 25.8 2.56 SUV’s 31 22.68 3.67 Pickups 14 21.29 2.76
The data below was collected from manufacturer advertisements of their vehicles horsepower and highway gas mileage...
The data below was collected from manufacturer advertisements of their vehicles horsepower and highway gas mileage (mpg.). Use this data to answer the following questions. x 158 250 340 350 390 190 220 y 33 28 15 17 11 35 42 1. Find the the correlation coefficient. Round your final answer to four decimal places. r=r=   2. Write the regression equation below. Round all numbers to four decimal places. ˆy=y^= 3. Using the data shown above,predict the the highway gas...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT