What is the optimal linear regression (w and w/o y-intercept) for a quadratic curve w.r.t. mean square error.
$$y = x^2$$
$$x = [-a,a]$$.
What is the best approximation for straight line equations of the form.
$$y = \alpha x$$
$$y = \alpha x + \beta$$.
MATLAB can solve it numerically, but I had rather have a closed form analytical solution if it exists.