Nonlinear Fit
- To: mathgroup at smc.vnet.net
- Subject: [mg38321] Nonlinear Fit
- From: "Hypermars" <hypermars00 at yahoo.com>
- Date: Thu, 12 Dec 2002 01:33:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello,
regarding the package "Statistics'NonlinearFit'" is it possible to fit an
array of data with a function defined by NIntegrate?
Example:
f[r_,a_] := NIntegrate[x/(x^2+a^2) Exp[-x^2] BesselJ[0,x r],{x,0,Infinity}]
BestFitParameters /. NonlinearRegress[data,f[r,a],r,{a},RegressionReport ->
BestFitParameters]
I mean, I know it's not possible because I tried and it doesn't work, but I
was wondering if there is some way to do that.
Any suggestion is more than welcome.
Thanks
Hyper