androsnich
Civil/Environmental
- May 7, 2003
- 12
How can I do a simple non linear least squares regression on a few data points inorder to find the inflection point?
The data resembles a second order polynomial, a parabola. I have about 3-4 points and need only an approxmate answer.
I figure I can do a simple polymonial least squrares regression analyis to determine the best fit quadratic equation through the line. Then I would take the differential of this equation and solve for the inflection poing - zero, ie the bottem (or top of the parabola).
I am programing in Fortran 77, however I can convert. BTW I need to do this 1.6 million times.
Thanks,
Harry
The data resembles a second order polynomial, a parabola. I have about 3-4 points and need only an approxmate answer.
I figure I can do a simple polymonial least squrares regression analyis to determine the best fit quadratic equation through the line. Then I would take the differential of this equation and solve for the inflection poing - zero, ie the bottem (or top of the parabola).
I am programing in Fortran 77, however I can convert. BTW I need to do this 1.6 million times.
Thanks,
Harry