Least Squares Line
The least square line
Y = mx + b
that gives the best fir to the data points
(x1 , y1) , (x2 , y2) ,…….(xn , yn)
has slope m and y-intercept b that satisfy the equations
nb + (∑x)m = ∑y
(∑x)b + (∑x2)m = ∑xy.
learn maths and leave the fear of it
Least Squares Line
The least square line
Y = mx + b
that gives the best fir to the data points
(x1 , y1) , (x2 , y2) ,…….(xn , yn)
has slope m and y-intercept b that satisfy the equations
nb + (∑x)m = ∑y
(∑x)b + (∑x2)m = ∑xy.