NonlinearRegress with model defined by NIntegrate
- To: mathgroup at smc.vnet.net
- Subject: [mg47377] NonlinearRegress with model defined by NIntegrate
- From: Emilios Dimitriadis <dimitria at helix.nih.gov>
- Date: Wed, 7 Apr 2004 03:16:36 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi All,
I am trying to use NonlinearRegress to fit a model. One of the
independent variables in the model is in the upper limit of an NIntegrate
command. Anybody knows how to do this?
Thanks!
Here is what I mean:
f[x_,a_]= G[x,a] NIntegrate[H[y,a],{y,0,x}];
<< Statistics`NonlinearFit`
fitting= NonlinearRegress[data, f[x, a], x, {a, 1},
RegressionReport -> BestFitParameters]