cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
rajesh
Level II

How to prove similarity between two curve? What are different approach or options in JMP?

Dear Users,

I have two spectral data set and my objective is to prove similarity between two curves? How to prove similarity between two curve? What are different approach or options in JMP? Datasheet attached for reference where I want to prove how similar  Y1 with  Y2 or viceversa.

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: How to prove similarity between two curve? What are different approach or options in JMP?

First of all, we use statistics to help us decide about a hypothesis. We cannot use it to prove anything. Second of all, you only have one curve from each population, so no statistical inference is possible.

 

You might use the Functional Data Explorer in JMP Pro to fit a basis expansion model to each curve and then examine the functional principal components. There would be essentially a single such component if the curves are similar or two if they are not similar.

 

The summary of your curves shows the common shape (mean function) and the variation (standard deviation function), which is greatest at the start of the curve.

 

Screen Shot 2020-01-17 at 5.41.37 AM.png

 

The penalized spline model gave the best fit.

 

Screen Shot 2020-01-17 at 5.43.53 AM.png

 

In your case, there seems to be only one shape.

 

Screen Shot 2020-01-17 at 5.46.00 AM.png

View solution in original post

statman
Super User

Re: How to prove similarity between two curve? What are different approach or options in JMP?

Some thoughts:

 

1. I would first determine if the differences are of any practical significance.  How much of a difference in the response that is plotted is meaningful (do you care about from a practical standpoint).

2. Use many comparisons:

  • Similar points along the x-axis on each curve (differences between these)
  • Slopes between different sections of the curve
  • Max/min values

There is no one right way!  And as Mark points out, you can't prove anything...only increase your degree of confidence that the curves are similar or not.

 

"All models are wrong, some are useful" G.E.P. Box

View solution in original post

6 REPLIES 6

Re: How to prove similarity between two curve? What are different approach or options in JMP?

First of all, we use statistics to help us decide about a hypothesis. We cannot use it to prove anything. Second of all, you only have one curve from each population, so no statistical inference is possible.

 

You might use the Functional Data Explorer in JMP Pro to fit a basis expansion model to each curve and then examine the functional principal components. There would be essentially a single such component if the curves are similar or two if they are not similar.

 

The summary of your curves shows the common shape (mean function) and the variation (standard deviation function), which is greatest at the start of the curve.

 

Screen Shot 2020-01-17 at 5.41.37 AM.png

 

The penalized spline model gave the best fit.

 

Screen Shot 2020-01-17 at 5.43.53 AM.png

 

In your case, there seems to be only one shape.

 

Screen Shot 2020-01-17 at 5.46.00 AM.png

rajesh
Level II

Re: How to prove similarity between two curve? What are different approach or options in JMP?

Thanks for quick reply,

As variation and shape is similar Can I say both curves are similar in nature?  

Objective here is to see whether these two curves are similar or not (Hypothesis)? How to measure similarity or difference ? (by mean or by shape or point to point correlation or by variation at various stages?) Which method is best to address this situation? 

As I don't have JMP pro can I use any other method for similarity in JMP? 

 

 

Craige_Hales
Super User

Re: How to prove similarity between two curve? What are different approach or options in JMP?

Plot data, and difference in greenPlot data, and difference in green

Plotting the difference (green) between the two curves shows something that is hard to see from the red and blue curves because of the steep slope: the difference is smoothly getting smaller after 198 or so.

Craige
statman
Super User

Re: How to prove similarity between two curve? What are different approach or options in JMP?

Some thoughts:

 

1. I would first determine if the differences are of any practical significance.  How much of a difference in the response that is plotted is meaningful (do you care about from a practical standpoint).

2. Use many comparisons:

  • Similar points along the x-axis on each curve (differences between these)
  • Slopes between different sections of the curve
  • Max/min values

There is no one right way!  And as Mark points out, you can't prove anything...only increase your degree of confidence that the curves are similar or not.

 

"All models are wrong, some are useful" G.E.P. Box
FR60
Level IV

Re: How to prove similarity between two curve? What are different approach or options in JMP?

Ciao Mark
I have a question for you. You say that the 2 curves Y1 and Y2 are similar. And I agree with you. But how the score plot should be interpreted? The two points are far each other.

Thanks Felice

Re: How to prove similarity between two curve? What are different approach or options in JMP?

Yes, there is a difference between the two curves. They are not identical curves.

 

The first functional principal component captures essentially all the variation between the two curves. FDE usually works with a larger sample so that the FPCs tend to separate the fixed effects (attributable) and random effects (not attributable). The fixed effects dominate the first FPCs and the random effects dominate the last FPCs. You have only two curves so only two FPCs are possible. There is only one difference between curves so only one real FPC.

 

Be careful about judging distance in this plot. (The vertical dimension has zero length.) Rather, the plot simply indicates that the two curves Y1 and Y2 are most different out of all the curves, but these two curves are the only curves in the sample.