The arithmetic mean of a (discrete) probability distribution X is the expectation
$$E_X(X) = \sum p_X(x)*x$$
with an integration analogue for continuous distributions.
If an analytic expression isn't available, returns error. To impute a numerical expression, use the
CoreStatistics
decorator.