Do cars get better gas mileage on the highway? The table shows the mileage per gallon of cars on city streets and the mileage per gallon of cars on the highway. Assume that the two samples are randomly selected. At the 0.1 significance level, test the claim that the mean difference in miles per gallon is higher for cars on the city streets. (Be sure to subtract in the same direction).

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question

Do cars get better gas mileage on the highway?

The table shows the mileage per gallon of cars on city streets and the mileage per gallon of cars on the highway. Assume that the two samples are randomly selected. At the 0.1 significance level, test the claim that the mean difference in miles per gallon is higher for cars on the city streets.
(Be sure to subtract in the same direction).

City (mpg)
Highway (mpg)
Difference (mpg)
27.7
31.9
17.6
16.5
18.8
27.5
28.2
34.6
21.3
26.4
19.1
30.4
28.3
26.7
20
24.1
What are the correct hypotheses? (Select the correct symbols and values.)
Ho: Select an answer
? Select an answer
H1: Select an answer v
? v Select an answer
Original Claim
Select an answer v
df =
Transcribed Image Text:City (mpg) Highway (mpg) Difference (mpg) 27.7 31.9 17.6 16.5 18.8 27.5 28.2 34.6 21.3 26.4 19.1 30.4 28.3 26.7 20 24.1 What are the correct hypotheses? (Select the correct symbols and values.) Ho: Select an answer ? Select an answer H1: Select an answer v ? v Select an answer Original Claim Select an answer v df =
Based on the hypotheses, find the following:
Test Statistic =
(Round to three decimal places.)
Critical value(s) =
(Round to three decimal places.)
p-value =
(Round to four decimal places.)
Shade the sampling distribution curve with the correct critical value(s) and shade the critical regions. The
arrows can only be dragged to t-scores that are accurate to 1 place after the decimal point (these values
correspond to the tick marks on the horizontal axis). Select from the drop down menu to shade to the left,
to the right, between or left and right of the t-score(s).
Shade: Left of a value
Click and drag the arrows to adjust the values.
-4
-2
-1
2
3
4
-1,5
Decision: Select an answer
Conclusion: Select an answer
v the claim that the mean difference in
miles per gallon is higher for cars on the city streets.
Transcribed Image Text:Based on the hypotheses, find the following: Test Statistic = (Round to three decimal places.) Critical value(s) = (Round to three decimal places.) p-value = (Round to four decimal places.) Shade the sampling distribution curve with the correct critical value(s) and shade the critical regions. The arrows can only be dragged to t-scores that are accurate to 1 place after the decimal point (these values correspond to the tick marks on the horizontal axis). Select from the drop down menu to shade to the left, to the right, between or left and right of the t-score(s). Shade: Left of a value Click and drag the arrows to adjust the values. -4 -2 -1 2 3 4 -1,5 Decision: Select an answer Conclusion: Select an answer v the claim that the mean difference in miles per gallon is higher for cars on the city streets.
Expert Solution
Step 1

Given that,

Sample size n=8

The difference between two paired samples is calculated using formula d=City-Highway as follows:

City

Highway

Difference (d)

27.7 31.9 -4.20
17.6 16.5 1.10
18.8 27.5 -8.70
28.2 34.6 -6.40
21.3 26.4 -5.10
19.1 30.4 -11.3
28.3 26.7 2.00
20 24.1 -4.10

 

Mean and standard deviation of difference is calculated using EXCEL functions as given below:

Mean: “=AVERAGE (select array of data values)”

Standard deviation: “=STDEV (select array of data values)”

The mean of the difference is d¯=-4.588

Statistics homework question answer, step 1, image 1

Standard deviation of difference sd=4.4984

Statistics homework question answer, step 1, image 2

 

Step 2

Hypothesis:

H0:μd0 (That is, the mean difference in miles per gallon is not higher for cars on the city streets.)

H1:μd>0 (That is, the mean difference in miles per gallon is higher for cars on the city streets.)

Degrees of freedom is n-1=7

Test Statistic:

The test statistic value can be obtained as follows:

t=d¯sdn=-4.5884.49848=-2.885

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Means
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman