Expectation (math)
The mathematical expectation of a continuously distributed random variable with probability density function is
The expectation is also known as the mean of .
The expectation with respect to some function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(X)} where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X} is distributed according to is
For a discretely distributed random variable with probability mass function it is