We can compute the average, , of the -values, and introduce a new variable .
x | 2 | 5 | 7 | 8 |
---|---|---|---|---|
y | 1 | 1 | 4 | 3 |
We can set
Notice that the columns are Orthogonal. Hence, is diagonal. Now we can solve this normal using the normal equation.
We can compute the average, , of the -values, and introduce a new variable .
x | 2 | 5 | 7 | 8 |
---|---|---|---|---|
y | 1 | 1 | 4 | 3 |
We can set
Notice that the columns are Orthogonal. Hence, is diagonal. Now we can solve this normal using the normal equation.