Linear Regression
q We have N paired data point (xi, yi)
that we want to approximate their
relationship with a linear regression:
q The errors produced by this linear
approximation can be estimated as:
q The least square linear fit chooses
coefficients a and b to produce a
minimum value of the error Q.
 a0 = intercept
 a1 = slope (b)