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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Multiple fits vs single multiple fit
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

peter.cook

UK
356 Posts

Posted - 05/24/2005 :  08:40:51 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): Origin 7.5 SR5
Operating System: Win 2000

Hi,

I'd be interested in knowing some detail / opinions about the differences between a single multiple fit vs a multiple single fit.

i) When should either be used or not used?
ii) What are the essential differences?
iii) I assume global fitting is equvalent to a multiple fit
iv) Can I always use a single multiple fit in my code ie avoid having two separate bits of code. If this is so, how can I pull out eg individual R and nlsf.ssr values for each dataset. Parameter values and standard errors are different of course.

Cheers,

Pete


easwar

USA
1964 Posts

Posted - 05/24/2005 :  09:53:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Pete,

If you perform a single fit with multiple datasets, the fit parameters corresponding to all datasets are combined and the minimization occurs in this combined parameter space. Thus only one value will be generated for fit statistics such as SSR, R-Srq etc which then represent global fit statistics. Thus this method is best suited when you really want to share parameters while fitting - such as say share the centroid parameter when fitting 5 gaussian-like datasets with the gaussian function, where you know/decide that the centroids should be the same for each fit.

On the other hand if you are interested in fitting each dataset with the fitting function and generate goodness of fit statistics separately for each dataset, then you should do multiple single fits.

Easwar
OriginLab

Go to Top of Page

peter.cook

UK
356 Posts

Posted - 05/24/2005 :  3:26:23 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

Makes sense thanks. Just wondered if I was missing a trick.

Cheers,

Pete


Go to Top of Page

peter.cook

UK
356 Posts

Posted - 06/09/2005 :  06:57:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar,

Presumably you could still obtain statistical values for each dataset after a global fit eg the equivalent of nlsf.iterate(0) for each dataset with the global parameters. Is this worth considering as a feture?

Cheers,

Pete

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000