Table 2.3.6. Computing best fit line and correlation coefficient by hand
\(x_k^2\) \(x_k\) \(y_k\) \(y_k^2\) \(x_k \cdot y_k\)
4 -2 3 9 -6
0 0 1 1 0
0 0 -1 1 0
1 1 1 1 1
9 3 1 1 3
9 3 -1 1 -3
16 4 0 0 0
39 9 4 14 7
in-context