Hi All,
I apologize if I am trying to do something not appropriate for JMP, but I was trying to leverage JMP as a database to store a lot of material property data. I use individual JMP tables to visualize/analyze data, but will have some users of the data that would like to pull up a material summery table that captures means/standard deviations of the different properties I've measured.
For example, let's say I have an (oversimplified) table called Materials Database - Physical Data:
Material | Condition | Property A | Property B |
Wood | New | 100 | 5042 |
Wood | New | 97 | 6005 |
Wood | New | 113 | 5532 |
Wood | After Water Exp | 76 | 3680 |
Wood | After Water Exp | 45 | 4032 |
Wood | After Water Exp | 68 | 2599 |
Straw | New | 33 | 1107 |
Straw | New | 21 | 958 |
Straw | New | 16 | 1327 |
Straw | After Water Exp | 10 | 280 |
Straw | After Water Exp | 7 | 332 |
Straw | After Water Exp | 11 | 399 |
I really would like to ALSO have a table called Materials Database - Master Summary Table that links to this table and others of it's like. The material column would share the same ID, but it is possible that I could have that each table there could be a different number of rows for a given Material ID and condition, depending on the number of replicates tested. Here's what I'd like the summary table to look like:
Material | Mean (Property A) - New | StDev (Property B) - New | Mean (Property A) - After Water | StDev (Property A) - After Water | Mean (Property B) - New | StDev (Property B) - New | Mean (Property B) - After Water | StDev (Property B) - After Water |
Wood | 103 | 9 | 63 | 16 | 5526 | 482 | 3437 | 747 |
Straw | 23 | 9 | 9 | 2 | 1131 | 186 | 337 | 60 |
I guess I am looking for a script to put in a given column, so that as we collect more material, I would add rows of new materials, and also add columns as appropriate for the different properties I continue to measure. I am a JMP novice at best, so while I have been able to calculate means or standard deviations for a set number of rows in variations similar to: If( Modulo( Row(), 3 ) == 1, Col Mean( :Property A, Ceiling( Row() / 3 ) )) thanks to a previous post here, I then have to create a sub table from this, so that I could then have a single row for each material to allow me to use link ID for the Material column across different tables and combine all of those calculated means/standard deviations.
Is this really my best option? Thank you for any advice!