Use linear regression to find a function that fits the following points. (-5,14), (1,-16)

The linear regression equation is y = -5x + 21
The points are given as:
(-5,14), (1,-16)
The equation is then calculated using:
[tex]y = \frac{y_2 -y_1}{x_2 -x_1} * (x - x_1) + y_1[/tex]
This gives
[tex]y = \frac{14 + 16}{-5 - 1} * (x - 1) + 16[/tex]
Evaluate
y = -5 (x - 1) + 16
Expand
y = -5x + 5 + 16
Evaluate the sum
y = -5x + 21
Hence, the linear regression equation is y = -5x + 21
Read more about linear regression at:
https://brainly.com/question/17844286
#SPJ1