Suppose I have this dataset
{{1, 3, 5}, {4, 4, 2}, {5, 3, 5}, {10, 4, 10}} // MatrixForm
How do I find the probability that each cell is the maximum in its row.
So for example in the first row,
{1, 3, 5}
The probability of the first element being max is 0 (since its value is 1 while the third element has value 5). The probability of the second element being max is 0 (since its value is 3 while the third element has value 5). The probability of the third element being max is 1 (since its value is 5).
For the second row:
{4,4,2}
The probability of the first element being max is 1/2 (since its value is 4 equal to the second element). The probability of the second element being max is 1/2 (since its value is 4 equal to the first element). The probability of the third element being max is 0 (since its value is 2 while the first and the second elements have value 4).
Thanks all!