MAT225 Section Summary: 6.5

Least-Squares Problems

Summary

Okay! This is it: the section with the formula for the solution of the least-squares problem, which is known as the linear regression problem in statistics. This is how we find a nice fit to linear (and specialized types of non-linear) models. What an amazingly powerful tool this is, and it's based on some simple linear algebra....

least-squares solution: If tex2html_wrap_inline298 and b is in tex2html_wrap_inline300 , then a least-squares solution of tex2html_wrap_inline302 is tex2html_wrap_inline304 in tex2html_wrap_inline306 such that

displaymath284

for all x in tex2html_wrap_inline306 .

Q: Take a look at that equation above, and tell me where the name ``least-squares'' comes from....

Now, consider the projection of b onto the Col A,

displaymath285

and let tex2html_wrap_inline304 be defined as the solution of

displaymath286

Q: How do we know that there is such a solution?

We know that tex2html_wrap_inline314 is orthogonal to Col A, so

displaymath287

from which we arrive at

displaymath288

Hence tex2html_wrap_inline318 is a solution of the equation

displaymath289

(the so-called normal equations). There may be many (in infinite number!) of solutions of the normal equations.

Theorem 13: The set of least-squares solutions of tex2html_wrap_inline302 coincides with the nonempty set of solutions of the normal equations tex2html_wrap_inline322 .

However, if tex2html_wrap_inline324 is invertible, then the solution is unique:

Theorem 14: The matrix tex2html_wrap_inline324 is invertible tex2html_wrap_inline328 the columns of A are linearly independent. In this case, the equation tex2html_wrap_inline302 has only one least-squares solution tex2html_wrap_inline318 , and it is

displaymath290

Problems:

  1. #2, p. 416
  2. #5, p. 416
  3. #13, p. 416
  4. #23, p. 417
  5. #24, p. 417
  6. #25, p. 417


LONG ANDREW E
Sat Jan 29 21:07:50 EST 2011