Uncertainty of `max` and `argmax` of values with uncertainty Given a sequence $y = [y_1 \pm \Delta y_1, y_2 \pm \Delta y_2, ..., y_N \pm \Delta y_N]$, how can you compute the maximum of $y$ with its associated uncertainty, and the value of the index $i$ at which the maximum happens and its associated uncertainty?
In other words, how can you compute max and argmax values and uncertainties?
For example, in this case, it's not clear where the maximum occurs and also it's not clear the maximum value.


Finally, I've decided to use a Monte-Carlo approach to solve that problem. This is, using the mean and the uncertainty values in $y$, generate $M$ experiments of the form $\tilde{y}^i = [\tilde{y}_1, ..., \tilde{y}_N]$. Then, compute the max and argmax for each experiment $\tilde{y}^i$, and finally report the average and standard deviation of the $N$ max and argmax values.
