
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

April 19, 2012
x -2 0 1
y -1 3 10
. Let the least squares line have the equation y =
c 1 + c 2 x.
(a) Write down in matrix form the equation you would need to solve in order to find c 1 and
c 2. Now solve the equation using the matrix inverse method. Use it to write down the
equation of the least squares line.
(b) Find the square error if you use the line y = 4 + 2x to approximate the data.
(c) What does your answer to part (b) above tell you about the least squares error for the
data? Answer this without calculating the least squares error.