Card 0 of 14
Let , and
, find the least squares solution for a linear line.
The equation for least squares solution for a linear fit looks as follows.
Recall the formula for method of least squares.
Remember when setting up the A matrix, that we have to fill one column full of ones.
To make things simpler, lets make , and
Now we need to solve for the inverse, we can do this simply by doing the following. We flip the sign on the off diagonal, and change the spots on the main diagonal, then we multiply by .
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
Compare your answer with the correct one above
It is recommended that you use a calculator with matrix arithmetic capability for this question.
Give the equation of the least squares regression line for the following data:
,
,
,
.
Round your coefficients to three decimal digits, if applicable.
Form the matrices and
using the abscissas and ordinates of the four points:
and
The least squares regression line is the line of the equation ,
where can be found using the equation
.
This can be calculated as follows:
The least squares regression line is the line of the equation
.
Compare your answer with the correct one above