Posted: Feb 07, 2008
under General
Description: Find regression line/least squares line/best-fit line.
Find regression for (0,2), (1,4), (2,6):
n = 3.
Ex = 0 + 1 + 2.
Ey = 2 + 4 + 6.
Exy = (0*2) + (1*4) + (2*6).
Ex2 = (0^2) + (1^2) + (2^2)...
Results in:
m = 0.
b = 4...
So:
y = x+4.


