Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.8K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:
GROUPS:

Fitting Issue with NonlinearModel Fit

Posted 10 years ago

Hi, I have a data set, and trying to fit it with a three variable equation using NonlinearModelFit. The *.nb file is attached herewith. The fitted model is giving a very poor fit, as I plot it with data points. But when I multiply the model with 2.5 arbitrarily, fit looks better. Can you please help me in figuring out why I am not getting the best possible fit using NonlinearModelFit.
Thanks a lot SG

Attachments:
POSTED BY: S G
3 Replies
Posted 10 years ago

Iterative procedures are many times very sensitive to starting values. Sometimes one has to be very close to the correct estimates and sometime one just needs to start with the right sign. My guess that NonlinearModelFit uses 1 as the starting value for all parameters. If one uses -1 for the starting value for d, a good fit results.

Z = NonlinearModelFit[data, Ic, {x, { d, -1}, j}, T];
Z["BestFitParameters"]
Z["BestFit"]
Show[Plot[Z[T], {T, 4, 300}, PlotRange -> All], ListPlot[data] ]

results of fit

POSTED BY: Jim Baldwin
POSTED BY: Marco Thiel
Posted 10 years ago

Hi Marco, What you are saying, makes sense. This data should ideally head to infinite at T = 0, though experimental data points (specially close to T = 0) might be low in accuracy and hence the discrepancy. Anyways thanks for your help and figuring out the real problem as I was bit confused with what I was getting. Will write if have any further query.

POSTED BY: S G
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard