Page 1 of 1

Find the least-squares regression line for the points (1,1), (2,2), (3,4), (4,4), and (5,6) using the matrix form of the

Posted: Thu May 12, 2022 7:38 am
by answerhappygod
Find the least-squares regression line for the points
(1,1), (2,2), (3,4), (4,4), and (5,6) using the matrix form of the
normal
equations A.T@A@x = A.T@b.
Whenever possible, use matrix operations and not loops. You can
add your own functions or other support code only in python