Expected value
In probability theory the expected value (or mathematical expectation) of a random variable is the sum of the probability of each possible outcome of the experiment multiplied by its payoff ("value"). Thus, it represents the average amount one "expects" as the outcome of the random trial when identical odds are repeated many times. Note that the value itself may not be expected in the general sense; it may be unlikely or even impossible. For example, the expected value from the roll of an ordinary six-sided die is 3.5, which is not one of the possible outcomes.
A common application of expected value is in gambling. For example, an American roulette wheel has 38 equally possible outcomes. A winning bet placed on a single number pays 35-to-1 (this means that you are paid 35 times your bet and your bet is returned, so you get 36 times your bet). So considering all 38 possible outcomes, the expected value of the profit resulting from a $1 bet on a single number is:
which is about −$0.0526. Therefore one expects, on average, to lose over five cents for every dollar bet, and the expected value of a one dollar bet is $0.9474. In gambling or betting, a game or situation in which the expected value for the player is zero (no net gain nor loss) is called a "fair game."
Mathematical definition
In general, if is a random variable defined on a probability space , then the expected value of (denoted or sometimes or ) is defined as
where the Lebesgue integral is employed. Note that not all random variables have an expected value, since the integral may not exist (e.g., Cauchy distribution). Two variables with the same probability distribution will have the same expected value, if it is defined.
If is a discrete random variable with values , , ... and corresponding probabilities , , ... which add up to 1, then can be computed as the sum or series
as in the gambling example mentioned above.
If the probability distribution of admits a probability density function , then the expected value can be computed as
It follows directly from the discrete case definition that if is a constant random variable, i.e. for some fixed real number , then the expected value of is also .
The expected value of an arbitrary function of x, g(x), with respect to the probability density function f(x) is given by The Law of the Unconscious Statistician:
Conventional terminology
- When one speaks of the "expected price", one means the expected value of a random variable that is a price.
- When one speaks of the "expected height", one means the expected value of a random variable that is a height.
- When one speaks of the "expected number of attempts" needed to get one successful attempt, one means the expected value of a random variable that is the number of such attempts.
And so on.
Properties
Constants
Expected value of a constant is equal to that constant or If c is a constant, E(c) = c
Monotonicity
If X and Y are random variables so that X is always less than Y, then Expectation of X will also be less than Expectation of Y.
Linearity
The expected value operator (or expectation operator) is linear in the sense that
for any two random variables and (which need to be defined on the same probability space) and any real numbers and .
Iterated expectation
Iterated expectation for discrete random variables
For any two discrete random variables one may define the conditional expectation:
Then the expectation of satisfies
Hence, the following equation holds:
The right hand side of this equation is referred to as the iterated expectation and is also sometimes called the tower rule. This proposition is treated in law of total expectation.
Iterated expectation for continuous random variables
In the continuous case, the results are completely analogous. The definition of conditional expectation would use inequalities, density functions, and integrals to replace equalities, mass functions, and summations, respectively. However, the main result still holds:
Inequality
If a random variable X is always less than or equal to another random variable Y, the expectation of X is less than or equal to that of Y:
If , then .
In particular, since and , the absolute value of expectation of a random variable is less or equal to the expectation of its absolute value:
Representation
The following formula holds for any nonnegative real-valued random variable (such that ), and positive real number :
Non-multiplicativity
In general, the expected value operator is not multiplicative, i.e. is not necessarily equal to , except if and are independent or uncorrelated. This lack of multiplicativity gives rise to study of covariance and correlation.
Functional non-invariance
In general, the expectation operator and functions of random variables do not commute; that is
except as noted above.
Uses and applications of the expected value
The expected values of the powers of are called the moments of ; the moments about the mean of are expected values of powers of . The moments of some random variables can be used to specify their distributions, via their moment generating functions.
To empirically estimate the expected value of a random variable, one repeatedly measures observations of the variable and computes the arithmetic mean of the results. This estimates the true expected value in an unbiased manner and has the property of minimizing the sum of the squares of the residuals (the sum of the squared differences between the observations and the estimate). The law of large numbers demonstrates (under fairly mild conditions) that, as the size of the sample gets larger, the variance of this estimate gets smaller.
In classical mechanics, the center of mass is an analogous concept to expectation. For example, suppose is a discrete random variable with values and corresponding probabilities . Now consider a weightless rod on which are placed weights, at locations along the rod and having masses (whose sum is one). The point at which the rod balances is .
Expectation of matrices
If is an matrix, then the expected value of the matrix is defined as the matrix of expected values:
This is utilized in covariance matrices.
See also
- Conditional expectation
- An inequality on location and scale parameters.
- Expected value is also a key concept in economics and finance.
- The general term expectation.