Re: Fitting table model
- To: mathgroup at smc.vnet.net
- Subject: [mg40653] Re: [mg40611] Fitting table model
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Sat, 12 Apr 2003 03:10:49 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On Friday, April 11, 2003, at 02:01 AM, Mazin M. wrote: > Dear mathgroup. > > The function NonlinearFit[data,model,variables, parameters] work with > "model" in a form of analytical function(s). Who can advice me the > package where the "model" is in a form of table function (pairs of > {xi, yi})? > If the derivative of you model with respect to the parameters is defined at all points use FindMinimum to minimize Sum[(yi-f[xi,pi])^2,{i}] where pi are the parameters and f[xi,pi] is the model. If the derivative is a problem use NumericalMath`NMinimize on the above function. Regards, Ssezi