Calculate the expected value (weighted mean) of outcomes and their probabilities.
Category: Statistics.