I hope this helps:
Least Squares Fit of a Quadratic Curve to Data
Hi there,
I have a set of data points
{(X1,Y1), (X2,Y2),........(Xn,Yn)}
I would like to approximate the relation between X and Y as a parabola. Assuming the parabola has form y = Ax^2+Bx+C, can somebody please provide me with the least squares regression formulas for A, B and C.
Any help is greatly appreciated.
Thanks,
AP
I hope this helps:
Least Squares Fit of a Quadratic Curve to Data