An engineer wants to determine how the weight of a car, x, affects gas mileage, y. The following data represent the weights of various cars and their miles Car A B C D E D Weight (pounds), x 2570 2900 3275 Miles per Gallon, y 28.9 24.2 22 21.1 18.6 3865 4190 (a) Find the least-squares regression line treating weight as the explanatory variable and miles per gallon as the response variable. Write the equation for the least-squares regression line.
An engineer wants to determine how the weight of a car, x, affects gas mileage, y. The following data represent the weights of various cars and their miles Car A B C D E D Weight (pounds), x 2570 2900 3275 Miles per Gallon, y 28.9 24.2 22 21.1 18.6 3865 4190 (a) Find the least-squares regression line treating weight as the explanatory variable and miles per gallon as the response variable. Write the equation for the least-squares regression line.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question

Transcribed Image Text:An engineer wants to determine how the weight of a car, x, affects gas mileage, y. The following data represent the weights of various cars and their miles per gallon.
Car
D
E
D
A B с
2570 2900 3275
3865 4190
28.9 24.2 22 21.1 18.6
Weight (pounds), x
Miles per Gallon, y
(a) Find the least-squares regression line treating weight as the explanatory variable and miles per gallon as the response variable.
Write the equation for the least-squares regression line.
y = x+
(Round the x coefficient to five decimal places as needed. Round the constant to one decimal place as needed.)

Transcribed Image Text:The data below represent commute times (in minutes) and scores on a well-being survey. Complete parts (a) through (d) below.
Commute Time (minutes), x
Well-Being Index Score, y
15 25 35 50 72 105
68.3 67.4 67.0 66.2 65.8 63.4
5
69.2
(a) Find the least-squares regression line treating the commute time, x, as the explanatory variable and the index score, y, as the response variable.
ŷ=x+
(Round to three decimal places as needed.)
Expert Solution

Step 1
Hello! As you have posted 2 different questions, we are answering the first question. In case you require the unanswered question also, kindly re-post them as separate question.
Given information:
x | y | x^2 | y^2 | xy |
2570 | 28.9 | 6604900 | 835.21 | 74273 |
2900 | 24.2 | 8410000 | 585.64 | 70180 |
3275 | 22 | 10725625 | 484 | 72050 |
3865 | 21.1 | 14938225 | 445.21 | 81551.5 |
4190 | 18.6 | 17556100 | 345.96 | 77934 |
Step by step
Solved in 2 steps

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman