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
 Discussion:About similarity of two functions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

lorentz

China
Posts

Posted - 12/23/2004 :  12:09:29 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Recent I try to work out a program that can judge how similar the two functions is.
the form of the function is not known yet,but we can use cubic spline curve fit to obtain its form.the question is that dose there exist a criteria which can use to measure the similarity of those two datasets?
Intuitively,I use the mean distance between two curves as a criteria.

easwar

USA
1965 Posts

Posted - 12/23/2004 :  1:55:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

One way to do this is to fit both datasets with the same function and then compare the fit results. This requires that you select a model/fitting function that best describes the data and then fit with that model to both datasets. In your case you could try something like a polynomial function.

In Origin versions 7.0 and higher, this can be done using the Fit Comparison tool under the Tools menu. The tool will fit both datasets and compute an F value from the fits and then a p-value which reports if the two datasets are significantly different or not.

Easwar
OriginLab

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