Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. A student would like to study the relationship between the mileage per gallon (MPG) and horsepower of some fuel efficient automobiles in a certain
6. A student would like to study the relationship between the mileage per gallon (MPG) and horsepower of some fuel efficient automobiles in a certain year. Below are the information this student collected. Answer the following questions. You can use R to answer all of these questions, no need to do by hand. Car MPG (y) Horsepower (x, in hp) Toyota Prius 53 121 Hyundai Kona 32 170 Kia Niro 45 140 Honda accord 32 210 Volkswagen Jetta 33 158 Subaru Impreza 35 198 Hyundai Elantra 36 134 Honda Civic 40 170 Toyota Camry 35 215 Toyota Corolla 38 152 a. Draw a scatterplot of the data. Describe the relationship between MPG and Horsepower. b. Determine the covariance and correlation coefficient (r) between MPG and Horsepower. c. Suppose we would like to predict MPG based on a car's horsepower. Find the least-squares equation for the prediction. d. If a car's horsepower is 180 hp, what is the predicted MPG? e. Determine the coefficient of determination (R2). Give the interpretation of this value. f. If a car's horsepower is 170 hp with MPG 39, what is the residual
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