I need to code a least squares routine to fit a line
$$y = m*x$$
into a 2d set of points
$$(x_i,y_i)$$
How can I find the regression line without an interceptor?
I need to code a least squares routine to fit a line
$$y = m*x$$
into a 2d set of points
$$(x_i,y_i)$$
How can I find the regression line without an interceptor?