Data: Blood Pressure Change-
Drug A vs Drug B

[Graphics:druggr2.gif][Graphics:druggr1.gif]

[Graphics:druggr2.gif][Graphics:druggr3.gif]

Goal: Try to fit the "best" straight line through the points

[Graphics:druggr2.gif][Graphics:druggr4.gif]

"Best Line": Minimize the sum of the differences between the line and the data

[Graphics:druggr2.gif][Graphics:druggr5.gif]

[Graphics:druggr2.gif][Graphics:druggr6.gif]

And here's your best line:
f(x) = -0.786 + 0.685 x

[Graphics:druggr2.gif][Graphics:druggr7.gif]

Error
x - 1 : 15.66
f(x) : 9.38