Re: Least Squares Parabola

Quote:

Originally Posted by

**rfhrth** Hi all

I have been trying to find the values of the coefficients for the least squares parabola:

y = a + bx + cx^2

I have taken partial derivatives wrt a, b, c and now have three equations, but I don't know what to do next...any suggestions? Have you solved this before?

thank you very much!!

I can help with LaTeX in exchange for help thank you very much

Do you have a set of data?

Re: Least Squares Parabola

Hi

Thank you for response. I don't have data, but I am try to show that a,b,c are minimization. I took derivatives of proper equation wrt a,b,c set to zero but now am unsure of how to solve for a,b,c explicit

Thank you very much

Re: Least Squares Parabola

Quote:

Originally Posted by

**rfhrth** Hi

Thank you for response. I don't have data, but I am try to show that a,b,c are minimization. I took derivatives of proper equation wrt a,b,c set to zero but now am unsure of how to solve for a,b,c explicit

Thank you very much

Show that a,b,c are minimisation? That makes no sense. Anyway, the easiest way to get the values of a,b,c is with matrix algebra.

Suppose you had a set of data , substituting them into your least squares model you get a system of equations which you can write in matrix form

If was a square matrix, you would be able to solve for by premultiplying both sides by . But because we have more equations than unknowns, is not square. But we can make is square by premultiplying both sides by first.

It can be shown that the values in are exactly the same as if you had minimised the sum of squared deviations.