cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

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

Table summary: "N non-zero" ?

In the Table summary menu ...

  • N counts all non-Missing entries (including 0s)
  • N Missing counts all missing values
  • Sum sums the values,
    which acts like ~ N non-Zero, if values are just 0 and 1

But I miss an entry 

  • N non-Zero (which works in general ,not just for 0/1 values)

There are many applications for such an aggregation, like:

  • which cities had >=1 covid cases in the month/year xx/yyyy.
  • which  wafers had >=1 defects.

It's clear that one can add aditional columns to the data table, set non-zero values to 1, and use sum as a workaround for N non-Zero,

but is there a way to get it directly via Table Summary?

 

hogi_0-1670324922867.png

4 REPLIES 4
jthi
Super User

Re: Table summary: "N non-zero" ?

I think most of the available summary statistics are mentioned here Using JMP > Summarize Your Data > Explanation of Summary Statistics and there is none for N Zero/N Non-Zero. Plenty of workarounds though as you said. There are most likely quite a few others which would be nice to have in Summary table (and in many other platforms, such as Tabulate and Graph Builder's Summary statistic).

 

Edit:

I work quite often with new (to me) data tables and that is why I wrote this add-in Analyse Columns . It has quite many different summary statistics but it's purpose isn't really same as Summary tables.

-Jarmo
hogi
Level XIII

Re: Table summary: "N non-zero" ?

Thanks for the feedback. Hm ...

 

edit: everything fine with median

Another thing which I really miss a lot in Table Summary:

Median

Sure, there is Quantiles - but with an additional Median, things would be a bit easier:

jthi
Super User

Re: Table summary: "N non-zero" ?

Summary does have Median (but it isn't close to Mean so it is fairly easy to miss)

jthi_0-1670336954104.png

 

-Jarmo
hogi
Level XIII

Re: Table summary: "N non-zero" ?

Ah, right - there is definitely a median -- also on my system :)

looks like I got trapped in some weird belief.

 

 

Recommended Articles