Hello,
Perhaps this is a quick fix, but I have a large data-set in JMP with many categories, one of which is a subgroup that each entry belongs to. I'm looking to take averages of the data collected across the entire subgroup and use it to create a whole new row. Is this possible using scripting? I am hoping for an optimized workflow where all it takes is a button to do this across different files.
EX:
Bucket | Age | Height (cm) |
1 | 30 | 100 |
2 | 35 | 120 |
1 | 30 | 90 |
2 | 40 | 150 |
A script would provide me with new rows that average stats by buckets 1 and 2:
Bucket | Age | Height (cm) |
1 (Average) | 30 | 95 |
2 (Average) | 37.5 | 135 |
If this is easy enough (and scalable), I am also looking for a way to generalize these averages, i.e average across BOTH buckets 1-2 or from buckets 1-4 instead of just one. Thanks so much