The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 nonlinear curve fitting

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jeanlouis Posted - 09/23/1998 : 7:51:00 PM
Has anyone ever encontered a 'stuck' fitting procedure, which keep returning the same wrong values and does not try to improve chi-square? This seems to happen when fitting many times with the same fitting function.
2   L A T E S T    R E P L I E S    (Newest First)
jeanlouis Posted - 09/25/1998 : 7:11:00 PM
Nope, it's no relative minimum at all. The fit is miles away from the curve, and neither making more iterations nor chaging the parameters by huge amounts does give any result. Origin just computes a curve with the provided parameters, calculates chi and stops. I have sent some data and fitting functions to customer support, you should be able to get them. Thanks!
rtoomey Posted - 09/24/1998 : 3:01:00 PM

The Origin Forum - Reply to Topic: Nonlinear Curve Fitting

Jean Louis Gallani:

You write:

Has anyone ever encontered a 'stuck' fitting procedure, which
keep returning the same wrong values and does not try to improve
chi-square? This seems to happen when fitting many times with
the same fitting function.

Response

It is not uncommon for any fitting procedure, including Origin's non-linear curve fitter, to fail to converge. There are many reasons for this behavior, but in your case I believe the problem to be related to the fitting algorithm (Levenburgh-Marquardt)
finding a relative (local or false) minimum, as opposed to an absolute minimum for the sum-of-squares.

In other words, the fitter goes through an iterative (step-by-step) process that essentially attempts to minimize the sum-of-
squares by changing the parameter values in small amounts. When your data is somewhat scattered, the iterative process can
reach a relative minimum sum-of-squares value before finding the actual absolute minimum. In the fitter's mind, since the ensuing sum-of-squares values are higher than this local minimum, it thinks it is done. It does not bother to look any further for an even smaller value for the sum-of-squares. Thus the fit does not converge (or improve chi-square).

In order to test this theory you might want to try the following:

  1. Note the values of the parameters and the Chi-Sqr from the first fit.

  2. Make a large change to the initial values of one or more parameters and run the fit again.

  3. Repeat step 2 several times.

  4. Ideally, the curve fitter will end up reporting nearly the same parameter values regardless of the initial values. However, if the values are different, accept the ones with the lowest Chi-Square.

Furthermore, if they are different, this suggests that the fitter had reached a relative minimum prior to changing the parameter values. I should stress that this is not a bug, but merely something that is intrinsic to nonlinear curve fitting (nonlinear regression).

Another explanation of this can be found in the Origin 5.0 User's Manual on page 536 or the 4.0/4.1 Manual on page 346. There are
also some other theories presented there which may be the cause of your problems. Take a look at those and try the suggestions that are there. You may find that they are helpful in improving your fit.

If you have any other questions or comments please feel free to contact your local Origin technical support representatives.

Sincerely,

Ryan Toomey

Technical Support engineer

Microcal Software, Inc.

[This message has been edited by rtoomey (edited 09-24-98).]


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000