Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem #3 69 In recent years, automobiles have a built-in mileage calculator. That is, a computer on the vehicle calculates the miles per gallon. However,
Problem #3 69 In recent years, automobiles have a built-in mileage calculator. That is, a computer on the vehicle calculates the miles per gallon. However, you suspect that the car's computer is not doing a particularly good job. You decide to conduct an experiment. For the next 300 times that you fill up your car with gas, you painstakingly calculate the miles per gallon yourself by noting how many gallons were consumed, and how many miles you drove. You then compare your values with what the car's computer indicated. The values you obtained are in the file mpg_diff.csv (click here to download) to your computer. For example, a value of -3.2 indicates that your car 3.2 mpg less than what the computer said. Avalue of 4.1 indicates your car got 4.1 mpg more than what the computer said. Note that this particular dataset has only one column in it. (Most of the other ones we've looked at have two or more columns). This is common, and should not cause you any problems at all. I'm just letting you know in case it looks strange to you if you open the file to look at the data. That column is named "MPG". Using a 95% confidence interval, do a hypothesis test to see if there is any difference (whether higher or lower) between what the car's computer tells you, and what your own calculations actually revealed. Hint: Ideally, there should be no statistically significant difference. When download the data file above, be sure to take note of which folder it is saved in so that you can access it via R (as discussed in the R lectures). As with other problems, you must paste all of the R code used to do this problem in your document so that the grader can evaluate it
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started