The mean of a distribution with probability density function P(x) is the first raw moment μ_1^, , defined by μ congruent 〈x〉, where 〈f〉 is the expectation value. For a continuous distribution function, the population mean is given by μ = integral P(x) f(x) d x, where 〈x〉 is the expectation value. Similarly, for a discrete distribution, μ = sum_(n = 0)^N P(x_n) f(x_n). The population mean of a distribution is implemented in the Wolfram Language as Mean[dist].