227k views
5 votes
Use linear regression to find a function that fits the following points. (-2,-1), (3,9).​

User Mahase
by
4.7k points

1 Answer

10 votes

Explanation:


(y - y_1)/(y_2 - y_1) = (x - x_1)/(x_2 - x_1)


(y - ( - 1))/(9 - ( - 1)) = (x - ( - 2))/(3 - ( - 2))


\frac{y + 1}{ \cancel{10}} = \frac{x + 2}{ \cancel{5} }


(y + 1)/(2) = (x + 2)/(1)


1.(y + 1) = 2.(x + 2)


y + 1 = 2x + 4


y = 2x + 4 - 1


y = 2x + 3

User Caheem
by
5.3k points