Fueleconomy gov gives the city and highway fuel economy for all makes and models of vehicles back to 1984. The table gives the city and highway fuel economy for a random sample of ten 2021 vehicles


a - Calculate the equation of the least squares regression line

b- What is the correlation coefficient



Answer :

a) The equation of the least squares regression line is of: y = 1.26435x + 6.08367.

b) The correlation coefficient of the data is of: r = 0.9172.

How to obtain the linear regression equation?

The linear regression equation is obtained inserting the points of the data-set into a linear regression calculator.

From the table given by the image at the end of the answer, the points are given as follows:

(14.4, 25.5), (24.3, 37.4), (27.2, 36.5), (29.9, 45.5), (20.4, 28.7), (28.8, 46.1), (20.9, 33.6), (23.2, 38.3), (28.6, 41.3), (25.4, 35.3).

Inserting these points into a calculator, the linear regression equation, also called least squares regression line, is given as follows:

y = 1.26435x + 6.08367

What is the correlation coefficient?

The same points used to obtain the least squares regression line are inserted into a correlation coefficient calculator, and the numeric value of the coefficient is given as follows:

r = 0.9172.

Missing Information

The table is given by the image presented at the end of the answer.

More can be learned about linear regression at https://brainly.com/question/26755306

#SPJ1

View image joaobezerra

Other Questions