Is there a JMP equivalent of Excel's SUMPRODUCT function?
E.g., suppose I have a table like this:
Row | Set | Run | Probability | Value | Weighted Value |
1 | A | 1 | 0.2 | 7.5 | |
2 | A | 2 | 0.8 | 14.2 | |
3 | B | 1 | 0.35 | 18.1 | |
4 | B | 2 | 0.65 | 25.9 | |
... I would like to add a function to the "Weighted Value" column that would populate Rows 1 and 2 with (0.2*7.5+0.8*14.2), and Rows 3 and 4 with (0.35*18.1+0.65*25.9).
I imagine it would look something like: SUMPRODUCT( { :Probability, :Value }, :Set ) ... where :Probability and :Value are the columns to be multiplied, then added, grouping on :Set. But obviously that's not a function in JMP -- is there something similar?