cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
IslandDelverGo
Level II

How to get a column to return percentile

Hi everyone,

 

I am working to get P50, P90 and P95 data into a data set based on an array of numbers .

 

I know that I can run a distribution and it will show the values but I am trying to do this for too many files to make it feasible.

 

Is there a formula or other way to get a column that returns with the values I am looking for based on a specific delimiter such as batch? I am currently using JMP 15.0 and any help would be appreciated.

3 REPLIES 3
jthi
Super User

Re: How to get a column to return percentile

Have you tried with Summary platform?

jthi_0-1738426690940.png

Optionally you can use Col Quantile() function in a formula and Summarize() function if scripting

-Jarmo
IslandDelverGo
Level II

Re: How to get a column to return percentile

Frankly I was tunnel-visioned enough that I did not think of using the summary table. I also utilized the formula for col quantile to make all of them.

 

Thank you!  

txnelson
Super User

Re: How to get a column to return percentile

The Quantile() function will give you what you want if you are looking to calculate your percentiles for an array of data.

 

names default to here(1);

A = [1.2, 1.5, 10, 25, 31, 40, 50, 99, 1000, 5000, 25000, 100000];

P50 = Quantile( .5, A );

This can also be used against a column of data in a data table if you reference the data table as a matrix of data

names default to here(1);

dt = open("$SAMPLE_DATA/Big Class.jmp");

P75 = Quantile( .75, dt[0,4]);

  

Jim

Recommended Articles