The input is a group of points $(x,y)$. I am trying to find the regression equation of $y = ax^2$ (I am trying to find the coefficient $a$ that gives the smallest sum of squares of errors from the input points. How do I find this?
I tried to calculate coefficient a like above, but the result was not what I expected.
Thank you.