Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13638
| From | max.ulbrich@bioss.uni-freiburg.de |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | "Error" definition for nonlinear fit deviating from data points |
| Date | 2013-02-28 04:43 +0000 |
| Message-ID | <kgmn8s$8he$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hello,
I am doing a fit to a series of data points with NonlinearModelFit. The fit works well but the fitted function does not exactly match the data. Now the standard error from the parameter confidence interval table is very small, which I understand.
A simple example:
data = Table[{x, x + Sin[x]}, {x, 0, 30, 0.01}];
nlf = NonlinearModelFit[data, a*x, a, x];
bf = a*x /. nlf["BestFitParameters"];
Show[Plot[bf, {x, 0, 30}], ListPlot[data]]
nlf[{"ParameterConfidenceIntervalTable"}]
The last result shows a standard error of 0.00075, but the plot shows that the fit and the data deviate a lot. Is there a measure that reflects how the fit deviates from the data? Can this also be expressed as some type of "error" in the parameter estimate?
I.e. is there a way to write a = 1.0 +- xxx where x reflects the deviation of fit and curve?
Thanks a lot for your help,
Max
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
"Error" definition for nonlinear fit deviating from data points max.ulbrich@bioss.uni-freiburg.de - 2013-02-28 04:43 +0000 Re: "Error" definition for nonlinear fit deviating from data points craigloehle@gmail.com - 2013-03-02 08:44 +0000
csiph-web