By using the regression line ˆy=0.7+2.9x and the below data, find the squares-of-residuals. x y -1 0 0 2 1 4 2 5 Solution: x y ˆy=0.7+2.9x Error (y-ˆy) Squared Error (y-ˆy)2 -1 0 -2.2 2.2 4.84 0 2 0.7 1.3 1.69 1 4 3.6 0.4 0.16 2 5 6.5 -1.5 2.25 ∑ 8.94
No comments