All Topics  
Expected value

 

   Email Print
   Bookmark   Link






 

Expected value



 
 
In probability theory
Probability theory

Probability theory is the branch of mathematics concerned with analysis of Statistical randomness phenomena. The central objects of probability theory are random variables, stochastic processes, and event s: mathematical abstractions of determinism events or measured quantities that may either be single occurrences or evolve over time in an a...
 and statistics
Statistics

Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
, the expected value (or expectation value, or mathematical expectation, or mean, or first moment) of a random variable
Random variable

In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
 is the integral of the random variable with respect to its probability measure. For discrete random variables this is equivalent to the probability-weighted sum of the possible values, and for continuous random variables with a density function
Probability density function

In mathematics, a probability density function is a function that represents a probability distribution in terms of integrals.Formally, a probability distribution has density ƒ, if ƒ is a non-negative Lebesgue integration function such that the probability of the interval [ab] is given by...
 it is the probability density -weighted integral of the possible values.

The term "expected value" can be misleading.






Discussion
Ask a question about 'Expected value'
Start a new discussion about 'Expected value'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In probability theory
Probability theory

Probability theory is the branch of mathematics concerned with analysis of Statistical randomness phenomena. The central objects of probability theory are random variables, stochastic processes, and event s: mathematical abstractions of determinism events or measured quantities that may either be single occurrences or evolve over time in an a...
 and statistics
Statistics

Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
, the expected value (or expectation value, or mathematical expectation, or mean, or first moment) of a random variable
Random variable

In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
 is the integral of the random variable with respect to its probability measure. For discrete random variables this is equivalent to the probability-weighted sum of the possible values, and for continuous random variables with a density function
Probability density function

In mathematics, a probability density function is a function that represents a probability distribution in terms of integrals.Formally, a probability distribution has density ƒ, if ƒ is a non-negative Lebesgue integration function such that the probability of the interval [ab] is given by...
 it is the probability density -weighted integral of the possible values.

The term "expected value" can be misleading. It must not be confused with the "most probable value." The expected value is in general not a typical value that the random variable can take on. It is often helpful to interpret the expected value of a random variable as the long-run average value of the variable over many independent repetitions of an experiment.

The expected value may be intuitively understood by the law of large numbers
Law of large numbers

The law of large numbers is a theorem in probability that describes the long-term stability of the arithmetic mean of a random variable. Given a random variable with a finite expected value, if its values are repeatedly sampled, as the number of these observations increases, their mean will tend to approach and stay close to the expected va...
: The expected value, when it exists, is almost surely
Almost surely

In probability theory, one says that an event happens almost surely if it happens with probability one. The concept is analogous to the concept of "almost everywhere" in measure theory....
 the limit of the sample mean as sample size grows to infinity. The value may not be expected
Expectation

In the case of uncertainty, expectation is what is considered the most likely to happen. An expectation, which is a belief that is centred on the future, may or may not be realistic....
 in the general sense - the "expected value" itself may be unlikely or even impossible (such as having 2.5 children), just like the sample mean. The expected value does not exist for all distributions, such as the Cauchy distribution
Cauchy distribution

The Cauchy?Lorentz distribution, named after Augustin Cauchy and Hendrik Lorentz,  is a continuous probability distribution. As a probability distribution, it is known as the Cauchy distribution, while among physicists, it is known as a Lorentz distribution, or a Lorentz function or the Breit?Wigner dis...
.

It is possible to construct an expected value equal to the probability of an event by taking the expectation of an indicator function
Indicator function

In mathematics, an indicator function or a characteristic function is a Function defined on a Set that indicates membership of an element in a subset of ....
 that is one if the event has occurred and zero otherwise. This relationship can be used to translate properties of expected values into properties of probabilities, e.g. using the law of large numbers to justify estimating probabilities by frequencies.

Examples


The expected value from the roll of an ordinary six-sided die
Dice

A die is a small polyhedron object, usually cubic, used for generating Statistical randomnesss or other symbols. This makes dice suitable as gambling devices, especially for craps or sic bo, or for use in non-gambling tabletop games....
  is

which is not among the possible outcomes.

A common application of expected value is gambling
Gambling

Gambling is the wikt:wager#Verb of money or something of material Value on an event with an uncertain outcome with the primary intent of winning additional money and/or material goods....
. For example, an American roulette
Roulette

Roulette is a casino and gambling game named after the French language word meaning "small wheel". In the game, players may choose to place bets on either a number, a range of numbers, the color red or black, or whether the number is odd or even....
 wheel has 38 places where the ball may land, all equally likely. A winning bet on a single number pays 35-to-1, meaning that the original stake is not lost, and 35 times that amount is won, so you receive 36 times what you've bet. Considering all 38 possible outcomes, the expected value of the profit resulting from a dollar bet on a single number is the sum of what you may lose times the odds of losing and what you will win times the odds of winning, that is,

The change in your financial holdings is −$1 when you lose, and $35 when you win. Thus one may expect, on average, to lose about five cents for every dollar bet, and the expected value of a one-dollar bet is $0.9474. In gambling, an event of which the expected value equals the stake (of which the bettor's expected profit is zero) is called a "fair game."

Mathematical definition


In general, if is a random variable
Random variable

In mathematics, random variables are used in the study of Randomness and probability. They were developed to assist in the analysis of Game of chance, stochastic events, and the results of experiment by capturing only the mathematical properties necessary to answer probability questions....
 defined on a probability space
Probability space

A probability space, in probability theory, is the conventional mathematical model of randomness. This mathematical object, sometimes called also probability triple, formalizes three interrelated ideas by three mathematical notions....
 , then the expected value of , denoted , , or , is defined as

where the Lebesgue integral
Lebesgue integration

Lebesgue integration refers to both the general theory of integration of a function with respect to a general measure , and to the specific case of integration of a function defined on a sub-domain of the real line or a higher dimensional Euclidean space with respect to the Lebesgue measure....
 is employed. Note that not all random variables have an expected value, since the integral may not exist (e.g., Cauchy distribution
Cauchy distribution

The Cauchy?Lorentz distribution, named after Augustin Cauchy and Hendrik Lorentz,  is a continuous probability distribution. As a probability distribution, it is known as the Cauchy distribution, while among physicists, it is known as a Lorentz distribution, or a Lorentz function or the Breit?Wigner dis...
). Two variables with the same probability distribution
Probability distribution

In probability theory and statistics, a probability distribution identifies either the probability of each value of an unidentified random variable , or the probability of the value falling within a particular interval ....
 will have the same expected value, if it is defined.

If is a discrete random variable with probability mass function
Probability mass function

In probability theory, a probability mass function is a function that gives the probability that a discrete random variable random variable is exactly equal to some value....
 , then the expected value becomes

as in the gambling example mentioned above.

If the probability distribution
Probability distribution

In probability theory and statistics, a probability distribution identifies either the probability of each value of an unidentified random variable , or the probability of the value falling within a particular interval ....
 of admits a probability density function
Probability density function

In mathematics, a probability density function is a function that represents a probability distribution in terms of integrals.Formally, a probability distribution has density ƒ, if ƒ is a non-negative Lebesgue integration function such that the probability of the interval [ab] is given by...
 , 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
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
 , 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 inner product of f and g:

Using representations as Riemann–Stieltjes integral and integration by parts
Integration by parts

In calculus, and more generally in mathematical analysis, integration by parts is a rule that transforms the integral of products of functions into other, hopefully simpler, integrals....
 the formula can be restated as if .

As a special case let denote a positive real number, then

In particular, for , this reduces to:

if .

Conventional terminology


  • When one speaks of the "expected price", "expected height", etc. one means the expected value of a random variable that is a price, a height, etc.
  • When one speaks of the "expected number of attempts needed to get one successful attempt," one might conservatively approximate it as the reciprocal of the probability of success for such an attempt. Cf. expected value of the geometric distribution
    Geometric distribution

    In probability theory and statistics, the geometric distribution is either of two discrete probability distributions:* the probability distribution of the number X of Bernoulli trials needed to get one success, supported on the set , or...
    .


Properties


Constants

The expected value of a constant is equal to the constant itself; i.e., if 'c' is a constant, then .

Monotonicity

If X and Y are random variables so that almost surely
Almost surely

In probability theory, one says that an event happens almost surely if it happens with probability one. The concept is analogous to the concept of "almost everywhere" in measure theory....
, then .

Linearity

The expected value operator (or expectation operator) is linear in the sense that

Note that the second result is valid even if X is not statistically independent of Y. Combining the results from previous three equations, we can see 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
Discrete probability distribution

Discrete probability distributions arise in the mathematical description of probability theory and statistical analysis in which the values that might be observed are restricted to being within a pre-defined list of possible values....
 random variables one may define the conditional expectation
Conditional expectation

In probability theory, a conditional expectation is the expected value of a real random variable with respect to a conditional probability probability distribution....
:

which means that is a function on .

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
Law of total expectation

The proposition in probability theory known as the law of total expectation, the law of iterated expectations, the tower rule, the smoothing theorem, among other names, states that if X is an integrable random variable and Y is any random variable, not necessarily integrable, on the same probability space, then...
.

Iterated expectation for continuous random variables
In the continuous
Probability distribution

In probability theory and statistics, a probability distribution identifies either the probability of each value of an unidentified random variable , or the probability of the value falling within a particular interval ....
 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 than or equal to the expectation of its absolute value:

Non-multiplicativity

In general, the expected value operator is not multiplicative, i.e. is not necessarily equal to . If multiplicativity occurs, the and variables are said to be uncorrelated
Uncorrelated

In probability theory and statistics, two real-valued random variables are said to be uncorrelated if their covariance is zero.Uncorrelated random variables have a correlation of zero, except in the trivial case when both variables have variance zero ....
 (independent
Statistical independence

In probability theory, to say that two event s are independent intuitively means that the occurrence of one event makes it neither more nor less probable that the other occurs....
 variables are a notable case of uncorrelated variables). The lack of multiplicativity gives rise to study of covariance
Covariance

In probability theory and statistics, covariance is a measure of how much two variables change together .If two variables tend to vary together , then the covariance between the two variables will be positive....
 and correlation
Correlation

In probability theory and statistics, correlation indicates the strength and direction of a linear relationship between two random variables....
.

Functional non-invariance

In general, the expectation operator and function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
s of random variables do not commute; that is

A notable inequality concerning this topic is Jensen's inequality
Jensen's inequality

In mathematics, Jensen's inequality, named after the Danish mathematician Johan Jensen, relates the value of a convex function of an integral to the integral of the convex function....
, involving expected values of convex (or concave) functions.

Uses and applications of the expected value

The expected values of the powers of are called the moment
Moment (mathematics)

The concept of moment in mathematics evolved from the concept of moment in physics. The nth moment of a real-valued function f of a real variable about a value c is...
s 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
Arithmetic mean

In mathematics and statistics, the arithmetic mean of a list of numbers is the sum of all of the list divided by the number of items in the list....
 of the results. If the expected value exists, this procedure estimates the true expected value in an unbiased manner and has the property of minimizing the sum of the squares of the residual
Errors and residuals in statistics

In statistics and Optimization , statistical errors and residuals are two closely related and easily confused measures of "deviation of a sample from the mean": the error of a sample is the deviation of the sample from the population mean or actual function, while the residual of a sample is the difference between the sa...
s (the sum of the squared differences between the observations and the estimate
Estimator

In statistics, an estimator is a function of the observable sample data that is used to estimate an unknown population parameter ; an estimate is the result from the actual application of the function to a particular Sampling_ of data....
). The law of large numbers
Law of large numbers

The law of large numbers is a theorem in probability that describes the long-term stability of the arithmetic mean of a random variable. Given a random variable with a finite expected value, if its values are repeatedly sampled, as the number of these observations increases, their mean will tend to approach and stay close to the expected va...
 demonstrates (under fairly mild conditions) that, as the size
Sample size

The sample size of a statistical sample is the number of observations that constitute it. It is typically denoted n, a positive integer ....
 of the sample gets larger, the variance
Variance

In probability theory and statistics, the variance of a random variable, probability distribution, or sample is one measure of statistical dispersion, averaging the squared distance of its possible values from the expected value ....
 of this estimate
Estimator

In statistics, an estimator is a function of the observable sample data that is used to estimate an unknown population parameter ; an estimate is the result from the actual application of the function to a particular Sampling_ of data....
 gets smaller.

In classical mechanics
Classical mechanics

Classical mechanics is used for describing the motion of macroscopic objects, from projectiles to parts of machinery, as well as astronomical objects, such as spacecraft, planets, stars, and galaxies....
, the center of mass
Center of mass

The center of mass of a system of wiktionary:Particles is a specific point at which, for many purposes, the system's mass behaves as if it were concentrated....
 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 .

Expected values can also be used to compute the variance
Variance

In probability theory and statistics, the variance of a random variable, probability distribution, or sample is one measure of statistical dispersion, averaging the squared distance of its possible values from the expected value ....
, by means of the computational formula for the variance
Computational formula for the variance

In probability theory, the computational formula for the variance Var of a random variable X is the formulawhere E is the expected value of X....


A very important application of the expectation value is in the field of quantum mechanics
Quantum mechanics

Quantum mechanics is a set of principles underlying the most fundamental known description of all physical systems at the microscopic scale . Notable amongst these principles are both a dual wave-like and particle-like behavior of matter and radiation, and prediction of probabilities in situations where classical physics predicts certaintie...
. The expectation value of a quantum mechanical operator operating on a quantum state
Quantum state

In quantum physics, a quantum State is a mathematical object that fully describes a Quantum system. One typically imagines some experimental apparatus and procedure which "prepares" this quantum state; the mathematical object then reflects the setup of the apparatus....
 vector is written as . The uncertainty
Uncertainty principle

In quantum physics, the Werner Heisenberg uncertainty principle states that certain physical quantities, like the position and momentum, cannot both have precise values at the same time....
 in can be calculated using the formula .

Expectation of matrices

If is an matrix
Matrix (mathematics)

In mathematics, a matrix is a rectangular array of numbers, as shown at the right. In addition to a number of elementary, entrywise operations such as matrix addition a key notion is matrix multiplication....
, then the expected value of the matrix is defined as the matrix of expected values:

This is utilized in covariance matrices
Covariance matrix

In statistics and probability theory, the covariance matrix is a matrix of covariances between elements of a vector. It is the natural generalization to higher dimensions of the concept of the variance of a scalar -valued random variable....
.

Computation


It is often useful to update a computed expected value as new data come in. This can be done as follows, where is the -th value, and we use the previous estimate to compute :

Formula for non-negative integral values

When a random variable takes only values in we can use the following formula for computing its expectation:

For example, suppose we toss a coin where the probability of heads is . How many tosses can we expect until the first heads? Let be this number. Note that we are counting only the tails and not the heads which ends the experiment; in particular, we can have . The expectation of may be computed by . This is because the number of tosses is at least exactly when the first tosses yielded tails. This matches the expectation of a random variable with an Exponential distribution
Exponential distribution

In probability theory and statistics, the exponential distributions are a class of continuous probability distributions. They describe the times between events in a Poisson process, i.e....
. We used the formula for Geometric progression
Geometric progression

In mathematics, a geometric progression, also known as a geometric sequence, is a sequence of numbers where each term after the first is found by multiplying the previous one by a fixed non-zero number called the common ratio....
:

See also

  • Conditional expectation
    Conditional expectation

    In probability theory, a conditional expectation is the expected value of a real random variable with respect to a conditional probability probability distribution....
  • An inequality on location and scale parameters
    An inequality on location and scale parameters

    For probability distributions having an expected value and a median, the mean and the median can never differ from each other by more than one standard deviation....
  • Expected value is also a key concept in economics
    Economics

    File:Ballard Farmers' Market - vegetables.jpgEconomics is the Social sciences that studies the Production theory basics, Distribution , and Consumption of Good and Service ....
    , finance
    Finance

    The field of finance refers to the concepts of time, money and risk and how they are interrelated. Banks are the main facilitators of funding through the provision of credit, although private equity, mutual funds, hedge funds, and other organizations have become important....
    , and bioinformatics
    Bioinformatics

    Bioinformatics is the application of information technology to the field of molecular biology. The term bioinformatics was coined by Paulien Hogeweg in 1978 for the study of informatic processes in biotic systems....
    .
  • The general term expectation
    Expectation

    In the case of uncertainty, expectation is what is considered the most likely to happen. An expectation, which is a belief that is centred on the future, may or may not be realistic....
  • Pascal's Wager
    Pascal's Wager

    Pascal's Wager is a suggestion posed by the French people philosopher Blaise Pascal that even though the existence of God cannot be determined through reason, a person should "Gambling" as though God exists, because so living has everything to gain, and nothing to lose....
  • Moment (mathematics)
    Moment (mathematics)

    The concept of moment in mathematics evolved from the concept of moment in physics. The nth moment of a real-valued function f of a real variable about a value c is...
  • Expectation value (quantum mechanics)
    Expectation value (quantum mechanics)

    In quantum mechanics, the expectation value is the predicted mean value of the result of an experiment. It is a fundamental concept in all areas of quantum physics....
  • St. Petersburg Paradox
    St. Petersburg paradox

    In economics, the St. Petersburg paradox is a paradox related to probability theory and decision theory. It is based on a particular lottery game that leads to a random variable with infinite expected value, i.e....


External links