Re: Least Squares Parabola

Differentiate partially wrt and equate each derivative to zero and solve the resulting equations.

Re: Least Squares Parabola

Hi

Thank you for response. 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

The equation that you should be differentiating is the one for

Differentiating wrt gives you

and on putting this equal to zero this can be rewritten as

The summations are taken over the data points and will therefore be numbers.

Differentiate to find the other two equations and then solve them simultaneously for and

BTW,** do not double post**. The response that you are getting from your other posting is an alternative method, they produce the same end result.

Re: Least Squares Parabola

Quote:

Originally Posted by

**BobP** The equation that you should be differentiating is the one for

Differentiating wrt

gives you

and on putting this equal to zero this can be rewritten as

The summations are taken over the

data points and will therefore be numbers.

Differentiate to find the other two equations and then solve them simultaneously for

and

BTW,

** do not double post**. The response that you are getting from your other posting is an alternative method, they produce the same end result.

Much quicker than this method by the way...

Mods, would you please merge this thread with the other identical thread?

Re: Least Squares Parabola

Hello

thank you for reply

My onlly question was how to solve for a,b,c simultaneously. I already done the derivatives wrt a,b,c from proper equation (S)

thank you very much

Re: Least Squares Parabola

If you are working 'on paper', then a routine elimination is best.

Subtract multiples of the first equation from the second and third equations to eliminate say, from both of them, then take a multiple of one of the new equations from the other to eliminate

That allows you to calculate and you can back substitute to calculate and