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
SDF1
Super User

Is there a bug in JMP Pro 16.0 sort function?

Dear JMP & Community,

 

  I'm running JMP Pro 16.0 on a Windows 10 machine, 64-bit.

 

  I've recently come across a strange potential bug in the Sort function under Tables. When I try to sort the attached data table using the three columns Training R2, Validation R2 and Diff R2, I don't get the output that I would expect.

 

  If I sort it:

Big to small Training R2, then big to small validation R^2, then small to big Diff R2, I get the following (just a screenshot):

DiedrichSchmidt_3-1630414788751.png

You can clearly see that the validation R2 is actually getting bigger and the R2 Diff is getting smaller. It's as if it only sorted by Training R2 and forgot the rest.

What I would expect is something closer to this (when I sort ONLY small to big R2 Diff):

DiedrichSchmidt_4-1630414880774.png

Even then, it's not quite what I want. What I'm really looking for is having JMP sort out the data so that it first arranges the rows based on the hierarchy that Training R2 is big, followed by Validation R2 big, followed by R2 Diff being small. It used to work this way in previous versions of JMP, but now it seems to be different.

 

What I'm really hoping to get from the Sort function is for it to arrange the data table such that it finds the entry with the largest Training R2 AND largest Validation R^2 AND smallest R2 Diff. The normal way of doing this by casting the columns as such (below) isn't working like how it did or I think it should.

DiedrichSchmidt_5-1630415255481.png

Our organization hasn't upgraded to 16.1 yet, so maybe this has been fixed. I only have 100 rows in this data table, but sometimes I have several thousand to sort through.

 

Any feedback much appreciated.

 

Thanks!,

DS

1 ACCEPTED SOLUTION

Accepted Solutions
Jeff_Perkinson
Community Manager Community Manager

Re: Is there a bug in JMP Pro 16.0 sort function?

I just tried sorting it in 16.0 and 15.2 and got the same results in both places. When you sort by multiple columns it sorts by the first column first and then, within ties of that first column it sorts by the second column. So, you shouldn't expect the second column to be strictly descending.

 

-Jeff

View solution in original post

3 REPLIES 3
Jeff_Perkinson
Community Manager Community Manager

Re: Is there a bug in JMP Pro 16.0 sort function?

I just tried sorting it in 16.0 and 15.2 and got the same results in both places. When you sort by multiple columns it sorts by the first column first and then, within ties of that first column it sorts by the second column. So, you shouldn't expect the second column to be strictly descending.

 

-Jeff
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Is there a bug in JMP Pro 16.0 sort function?

I believe the Validation and R2 Diff columns will only become important when needed to break a tie between rows that have the exact same Training R2.  For example rows 2-3 have the same training R2 so JMP moves to validation R2 to see if there is a difference there and so on. This is the behavior I would expect.

SDF1
Super User

Re: Is there a bug in JMP Pro 16.0 sort function?

Hi @ih and @Jeff_Perkinson ,

 

  The descriptions you both provide make sense, but I have had similar data sets in the past where it sorted it according to my thinking - or at least I thought it did. Maybe the values I had in the past were such that the sorting "worked" out how I thought it worked.

 

  Regardless, with the particular models I'm running, I'm willing to take a smaller Training R^2 for a more balanced Validation R^2 -- meaning smaller R2 Diff. The end result is a overall more robust model for future predictions in my case.

 

  I will mark it as Solved since the Sort function is working as intended.

 

Thanks!,

DS