juice34
Could someone show me exactly how to derive the quadratic equation from the least squares method? I have no idea where to start. I will appreciate it very much. Thankyou.
Oops. I thought you were looking for a derivation of the quadratic formula itself (which happens to be done via "completing the square"). But you are looking to derive the parameters of a least squares fit to a quadratic function. My bad!juice34 said:Really, my professor said that its the least squares method. Is it the same thing i assume then. I appreciate it very much doc.
juice34 said:Here is what i have Y=ax^2+bx+c. Then the residual is d(i)=y(xi) so di=yi-(ax^2i+bxi+c). Then i take the sum of the square of the residuals. &(a,b,c)=E di^2=E((ax^2i+bxi+c))^2 and then I am lost after that!