I have been trying to run basic stats (Mean, StDev, Range) on a 2million record set of data. The catch is that I need to average two columns, not just one. Is this possible? The number of records for each group will vary. Tabulate will average Val1 and Val2 separately, I need them averaged together. The data table attached should average Val1 and Val2 based on each ID.
Results should be:
ID A | Avg 2.000 | StDev
0.8944 | Range
2 |
| B | 3.500 | 1.0488
| 3
|
| C | 2.625 | 1.4079
| 4
|
| D | 2.700 | 1.9465
| 5
|
Is there JSL code that I can use to get the results I'm looking for?