In JMP 14, you can use the new "Select Duplicate Rows" function interactively or in JSL.
For example, in Big Class to select the weights that are higher under the same sex and height. First sort the table ascending by sex, height, and weight.
Highlight the sex and height columns in the datatable. Go to Rows>Row Selection>Select Duplicate Rows. This will select the everything but the first instance of the same sex and height. You can then hide and exclude from there by going to Rows>Hide and Exclude.
You can also script these steps.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Sort(replace table,
By( :sex,:height,:weight),
Order( Ascending )
);
dt << Select duplicate rows( Match( :sex, :height ));
dt << hide and exclude (1);
-Olivia