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.
The discussion revolves around deriving the quadratic equation using the least squares method, with participants exploring the relationship between least squares fitting and the quadratic equation.
The discussion is active, with participants providing guidance on how to proceed with deriving coefficients and clarifying misunderstandings about the methods involved. There is recognition of the need to differentiate and rearrange equations to find solutions.
Participants are navigating between different methods (least squares vs. completing the square) and are seeking clarity on how to express coefficients in terms of summations. There is an emphasis on the requirement to show some attempt at a solution before receiving further assistance.
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!