[sci.misc] Program Wanted: Nonlinear, Two Parameter, Least Squares Fit.

noring@vaxr.llnl.gov (01/04/91)

Hello,

I'm trying to curve fit a set of measured (x,y) pairs to a non-linear
equation, the general form (sparing you the nasty details) being:

   y= f(x,a,b),

where 'a' and 'b' are two parameters that need to be determined (that
is, which will best fit the equation to the data).

I'm sure I could go to a numerical analysis book, and write a program
to determine these parameters, but I'd like to first see if anybody has
already written a self-contained program (preferably in FORTRAN) that
will do this.  Your help is appreciated.

Thanks,

Jon Noring