For this question and the next one, you will need to use the dataset mpg which comes with the package ggplot2 in R. The dataset has 11 different variables representing 234 cars of different makes and models. (a) Report the summary statistics for the variable hwy, which represents highway mpg for the cars in the dataset. (b) Construct a 95% confidence interval around the mean you reported in part (a). You can use the normal distribution, since your sample is large enough. (c) Using the confidence interval in part (C), test against the null hypothesis of the national average mpg being at 22.70 (H0 μ = 22.70). State your conclusion. (d) Using the null hypothesis in part (c), compute the p-value. Is your conclusion the same as in part (c) at 95% confidence level? Would your conclusion change if you drop your confidence level to 94 %? Explain.

Glencoe Algebra 1, Student Edition, 9780079039897, 0079039898, 2018
18th Edition
ISBN:9780079039897
Author:Carter
Publisher:Carter
Chapter10: Statistics
Section10.4: Distributions Of Data
Problem 19PFA
icon
Related questions
Question
not use ai please
For this question and the next one, you will need to use the dataset mpg which comes with the
package ggplot2 in R. The dataset has 11 different variables representing 234 cars of different makes
and models.
(a) Report the summary statistics for the variable hwy, which represents highway mpg for the
cars in the dataset.
(b) Construct a 95% confidence interval around the mean you reported in part (a). You can use
the normal distribution, since your sample is large enough.
(c) Using the confidence interval in part (C), test against the null hypothesis of the national
average mpg being at 22.70 (H0 μ = 22.70). State your conclusion.
(d) Using the null hypothesis in part (c), compute the p-value. Is your conclusion the same as in
part (c) at 95% confidence level? Would your conclusion change if you drop your confidence
level to 94 %? Explain.
Transcribed Image Text:For this question and the next one, you will need to use the dataset mpg which comes with the package ggplot2 in R. The dataset has 11 different variables representing 234 cars of different makes and models. (a) Report the summary statistics for the variable hwy, which represents highway mpg for the cars in the dataset. (b) Construct a 95% confidence interval around the mean you reported in part (a). You can use the normal distribution, since your sample is large enough. (c) Using the confidence interval in part (C), test against the null hypothesis of the national average mpg being at 22.70 (H0 μ = 22.70). State your conclusion. (d) Using the null hypothesis in part (c), compute the p-value. Is your conclusion the same as in part (c) at 95% confidence level? Would your conclusion change if you drop your confidence level to 94 %? Explain.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
Holt Mcdougal Larson Pre-algebra: Student Edition…
Holt Mcdougal Larson Pre-algebra: Student Edition…
Algebra
ISBN:
9780547587776
Author:
HOLT MCDOUGAL
Publisher:
HOLT MCDOUGAL