cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
aharro
Level II

Removing 5th percentile from a dataset

Does anyone have a jsl snippet of code that can remove the 5th percentile from a dataset? I've tried using the table summary.
Might be able to do it with the distribution chart.

2 REPLIES 2
jthi
Super User

Re: Removing 5th percentile from a dataset

You could also use Col Quantile() function

Names Default To Here(1);

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

rows_of_interest = dt << Get Rows Where(:height > Col Quantile(:height, 0.8));

wait(1); // for demo purposes
dt << Delete Rows(rows_of_interest);

-Jarmo
AlbertoJD2000
Level II

Re: Removing 5th percentile from a dataset

@jthi Thank you appreciateblank.png for any solution..

Recommended Articles