Given:
(-5,14), (1,-16)
The linear regression formula is

Substitute x=1 and y=-16 in the formula, we get


Subtracting m from both sides of the equation, we get


We get

Substitute x=-5 and y=14 in the formula, we get


Substitute b=-16-m in this equation to find the value of m.


Adding 16 to both sides of the equation, we get


Dividing both sides by (-6), we get


Substitue m=-5 in b=-16-m to find the value of b.



Substitute b= -11 and m= -5 in the line equation, we get

Hence linear regression is
