cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
vaesenjonas
Level I

How do I calculate 10, 50, 90% of a cumulative curve in JMP?

I have column with certain sizes, and the percentage of how often they occur.
Through the cumulative curve I would then like to extract the size that matches the 10, 50 and 90% threshold, but cannot do so linear.

The Savitzky-Golay smoother describes my data best.

I have included a screenshot of both my columns and my graph for better understanding.

vaesenjonas_0-1696864440299.png

vaesenjonas_1-1696864486265.png

 

 

2 REPLIES 2
Ressel
Level VI

Re: How do I calculate 10, 50, 90% of a cumulative curve in JMP?

I am sure there is a more elegant way, but once you have fit the Savitzky-Golay smoother to your data, you can use the red triangle menu to save the formula to your data table.

Ressel_0-1696877703120.png

 

Then, you pick "Profiler" from the "Graph" menu.

Ressel_1-1696877750400.png

 

In the dialogue box that opens, throw the formula column into the "Y, Prediction Formula Role".

Ressel_3-1696878052388.png

 

The result will allow you to read out any value of the fit. (In the example below the axis scaling was changed from linear to log.)

Ressel_2-1696877830124.png

And don't forget to save the graph profiler, of course. Example is attached. (Yes, I went through the trouble of typing in your data.)

 

 

peng_liu
Staff

Re: How do I calculate 10, 50, 90% of a cumulative curve in JMP?

The quantities that you are interested in are called "quantiles" or "percentiles" in statistics. And what you are looking for are quantiles of a sample data. They are part of summary statistics. Summary statistics are usually in the Distribution platform.

In this case, use Size as your Y, use V as your Freq. After you get a report, look for "Custom Quantiles" in "Display Options".

Thanks to Ressel's effort of typing in the data! I can borrow it to illustrate.

Follow the steps that I described, and you will get this dialog:

peng_liu_1-1696883563375.png

For your data, you need to uncheck the box at the bottom of the dialog. If you are interested in why, click "Help" button in the dialog will lead you to the documentation.

Click Ok, or run the second script in the data table, and you will get the desired results:

peng_liu_0-1696883423542.png