VOOZH about

URL: https://en.wikipedia.org/wiki/Expected_number

⇱ Expected value - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia
(Redirected from Expected number)
Average value of a random variable
Part of a series on statistics
Probability theory
πŸ‘ Image

In probability theory, the expected value (also called expectation, mean, or first moment) is a generalization of the weighted average.

The expected value of a random variable with a finite number of outcomes is a weighted average of all possible outcomes. In the case of a continuum of possible outcomes, the expectation is defined by integration. In the axiomatic foundation for probability provided by measure theory, the expectation is given by Lebesgue integration.

The expected value of a random variable X is often denoted by πŸ‘ {\displaystyle {\text{E}}(X)}
, πŸ‘ {\displaystyle {\text{E}}[X]}
, or πŸ‘ {\displaystyle {\text{E}}X}
, with E also often stylized as πŸ‘ {\displaystyle \mathbb {E} }
, πŸ‘ {\displaystyle {\mathcal {E}}}
or E.[1][2][3]

History

[edit]

The concept of expected value emerged in the mid-17th century from the "problem of points", a puzzle centered on how to fairly divide stakes between two players forced to end a game prematurely.[4] While the problem had been debated for centuries, it gained new momentum in 1654 when the Chevalier de MΓ©rΓ©, a French writer and amateur mathematician, presented it to Blaise Pascal. MΓ©rΓ© claimed that this problem could not be solved and that it showed just how flawed mathematics was when it came to its application to the real world. Pascal, being a mathematician, decided to work on a solution to the problem.

He began to discuss the problem in the famous series of letters to Pierre de Fermat. Soon enough, they both independently came up with a solution. They solved the problem in different computational ways, but their results were identical because their computations were based on the same fundamental principle. The principle is that the value of a future gain should be directly proportional to the chance of getting it. This principle seemed to have come naturally to both of them. They were very pleased by the fact that they had found essentially the same solution, and this in turn made them absolutely convinced that they had solved the problem conclusively; however, they did not publish their findings. They only informed a small circle of mutual scientific friends in Paris about it.[5]

In Dutch mathematician Christiaan Huygens' book, he considered the problem of points, and presented a solution based on the same principle as the solutions of Pascal and Fermat. Huygens published his treatise in 1657, (see Huygens (1657)) "De ratiociniis in ludo aleæ" on probability theory just after visiting Paris. The book extended the concept of expectation by adding rules for how to calculate expectations in more complicated situations than the original problem (e.g., for three or more players), and can be seen as the first successful attempt at laying down the foundations of the theory of probability.

In the foreword to his treatise, Huygens wrote:

It should be said, also, that for some time some of the best mathematicians of France have occupied themselves with this kind of calculus so that no one should attribute to me the honour of the first invention. This does not belong to me. But these savants, although they put each other to the test by proposing to each other many questions difficult to solve, have hidden their methods. I have had therefore to examine and go deeply for myself into this matter by beginning with the elements, and it is impossible for me for this reason to affirm that I have even started from the same principle. But finally I have found that my answers in many cases do not differ from theirs.

β€”β€ŠEdwards (2002)

In the mid-nineteenth century, Pafnuty Chebyshev became the first person to think systematically in terms of the expectations of random variables.[6]

Etymology

[edit]

Neither Pascal nor Huygens used the term "expectation" in its modern sense. In particular, Huygens writes:[7]

That any one Chance or Expectation to win any thing is worth just such a Sum, as wou'd procure in the same Chance and Expectation at a fair Lay. ... If I expect a or b, and have an equal chance of gaining them, my Expectation is worth (a+b)/2.

More than a hundred years later, in 1814, Pierre-Simon Laplace published his tract "ThΓ©orie analytique des probabilitΓ©s", where the concept of expected value was defined explicitly:[8]

... this advantage in the theory of chance is the product of the sum hoped for by the probability of obtaining it; it is the partial sum which ought to result when we do not wish to run the risks of the event in supposing that the division is made proportional to the probabilities. This division is the only equitable one when all strange circumstances are eliminated; because an equal degree of probability gives an equal right for the sum hoped for. We will call this advantage mathematical hope.

Notations

[edit]

The use of the letter E to denote "expected value" goes back to W. A. Whitworth in 1901.[9] The symbol has since become popular for English writers. In German, E stands for Erwartungswert, in Spanish for esperanza matemΓ‘tica, and in French for espΓ©rance mathΓ©matique.[10]

When "E" is used to denote "expected value", authors use a variety of stylizations: the expectation operator can be stylized as E (upright), E (italic), or πŸ‘ {\displaystyle \mathbb {E} }
(in blackboard bold), while a variety of bracket notations (such as E(X), E[X], and EX) are all used.

Another popular notation is ΞΌX. ⟨X⟩, ⟨X⟩av, and πŸ‘ {\displaystyle {\overline {X}}}
are commonly used in physics.[11] M(X) is used in Russian-language literature.

Definition

[edit]

As discussed above, there are several context-dependent ways of defining the expected value. The simplest and original definition deals with the case of finitely many possible outcomes, such as in the flip of a coin. With the theory of infinite series, this can be extended to the case of countably many possible outcomes. It is also very common to consider the distinct case of random variables dictated by (piecewise-)continuous probability density functions, as these arise in many natural contexts. All of these specific definitions may be viewed as special cases of the general definition based upon the mathematical tools of measure theory and Lebesgue integration, which provide these different contexts with an axiomatic foundation and common language.

Any definition of expected value may be extended to define an expected value of a multidimensional random variable, i.e. a random vector πŸ‘ {\displaystyle X}
. It is defined component by component, as πŸ‘ {\displaystyle E[X]_{i}=E[X_{i}]}
. Similarly, one may define the expected value of a random matrix πŸ‘ {\displaystyle X}
with components πŸ‘ {\displaystyle X_{ij}}
by πŸ‘ {\displaystyle E[X]_{ij}=E[X_{ij}]}
.

Random variables with finitely many outcomes

[edit]

Consider a random variable πŸ‘ {\displaystyle X}
with a finite list πŸ‘ {\displaystyle x_{1},...,x_{k}}
of possible outcomes, each of which (respectively) has probability πŸ‘ {\displaystyle p_{1},...,p_{k}}
of occurring. The expectation of πŸ‘ {\displaystyle X}
is defined as[12] πŸ‘ {\displaystyle \operatorname {E} [X]=x_{1}p_{1}+x_{2}p_{2}+\cdots +x_{k}p_{k}.}

Since the probabilities must satisfy πŸ‘ {\displaystyle p_{1}+...+p_{k}=1}
, it is natural to interpret πŸ‘ {\displaystyle E[X]}
as a weighted average of the πŸ‘ {\displaystyle x_{i}}
values, with weights given by their probabilities πŸ‘ {\displaystyle p_{i}}
.

In the special case that all possible outcomes are equiprobable (that is πŸ‘ {\displaystyle p_{1}=...=p_{k}}
), the weighted average is given by the standard average. In the general case, the expected value takes into account the fact that some outcomes are more likely than others.

Examples

[edit]
πŸ‘ Image
An illustration of the convergence of sequence averages of rolls of a dice to the expected value of 3.5 as the number of rolls (trials) grows

Random variables with countably infinitely many outcomes

[edit]

Informally, the expectation of a random variable with a countably infinite set of possible outcomes is defined analogously as the weighted average of all possible outcomes, where the weights are given by the probabilities of realizing each given value. This is to say that πŸ‘ {\displaystyle \operatorname {E} [X]=\sum _{i=1}^{\infty }x_{i}\,p_{i},}
where πŸ‘ {\displaystyle x_{1},x_{2},...}
are the possible outcomes of the random variable πŸ‘ {\displaystyle X}
and πŸ‘ {\displaystyle p_{1},p_{2},...}
are their corresponding probabilities. In many non-mathematical textbooks, this is presented as the full definition of expected values in this context.[13]

However, there are some subtleties with infinite summation, so the above formula is not suitable as a mathematical definition. In particular, the Riemann series theorem of mathematical analysis illustrates that the value of certain infinite sums involving positive and negative summands depends on the order in which the summands are given. Since the outcomes of a random variable have no naturally given order, this creates a difficulty in defining expected value precisely.

For this reason, many mathematical textbooks only consider the case that the infinite sum given above converges absolutely, which implies that the infinite sum is a finite number independent of the ordering of summands.[14] In the alternative case that the infinite sum does not converge absolutely, one says the random variable does not have finite expectation.[14]

Example

[edit]

Suppose πŸ‘ {\displaystyle x_{i}=i}
and πŸ‘ {\displaystyle p_{i}={\tfrac {c}{i\,\cdot \,2^{i}}}}
for πŸ‘ {\displaystyle i=1,2,3,\ldots ,}
where πŸ‘ {\displaystyle c={\tfrac {1}{\ln 2}}}
is the scaling factor which makes the probabilities sum to 1: πŸ‘ {\displaystyle \sum _{i=1}^{\infty }p_{i}=\sum _{i=1}^{\infty }{\frac {c}{i\cdot 2^{i}}}=c\,\sum _{i=1}^{\infty }{\frac {1}{i}}\!\ \left({\frac {1}{2}}\right)^{i}=c\!\ \ln 2=1}
by the logarithm series for πŸ‘ {\displaystyle \ln \left(1-{\tfrac {1}{2}}\right)=-\ln 2.}
Then we have πŸ‘ {\displaystyle \mathrm {E} [X]=\sum _{i=1}^{\infty }x_{i}p_{i}=\sum _{i=1}^{\infty }i\cdot {\frac {c}{i\cdot 2^{i}}}=c\,\sum _{i=1}^{\infty }\left({\frac {1}{2}}\right)^{i}=c\cdot 1={\frac {1}{\ln 2}}}
due to the geometric series for πŸ‘ {\displaystyle 1{\big /}{\big (}1-{\tfrac {1}{2}}{\big )}.}

Random variables with density

[edit]

Now consider a random variable πŸ‘ {\displaystyle X}
which has a probability density function given by a function πŸ‘ {\displaystyle f}
on the real number line. This means that the probability of πŸ‘ {\displaystyle X}
taking on any value in a given open interval is given by the integral of f over that interval. The expectation of πŸ‘ {\displaystyle X}
is then given by the integral[15] πŸ‘ {\displaystyle \operatorname {E} [X]=\int _{-\infty }^{\infty }xf(x)\,dx.}
A general and mathematically precise formulation of this definition uses measure theory and Lebesgue integration, and the corresponding theory of absolutely continuous random variables is described in the next section. The density functions of many common distributions are piecewise continuous, and as such the theory is often developed in this restricted setting.[16] For such functions, it is sufficient to only consider the standard Riemann integration. Sometimes continuous random variables are defined as those corresponding to this special class of densities, although the term is used differently by various authors.

Analogously to the countably-infinite case above, there are subtleties with this expression due to the infinite region of integration. Such subtleties can be seen concretely if the distribution of πŸ‘ {\displaystyle X}
is given by the Cauchy distribution Cauchy(0, Ο€), so that πŸ‘ {\displaystyle f(x)=(x^{2}+\pi ^{2})^{-1}}
. It is straightforward to compute in this case that πŸ‘ {\displaystyle \int _{a}^{b}xf(x)\,dx=\int _{a}^{b}{\frac {x}{x^{2}+\pi ^{2}}}\,dx={\frac {1}{2}}\ln {\frac {b^{2}+\pi ^{2}}{a^{2}+\pi ^{2}}}.}
The limit of this expression as πŸ‘ {\displaystyle a\to -\infty }
and πŸ‘ {\displaystyle b\to +\infty }
does not exist: if the limits are taken so that πŸ‘ {\displaystyle a=-b}
, then the limit is zero, while if the constraint πŸ‘ {\displaystyle 2a=-b}
is taken, then the limit is πŸ‘ {\displaystyle \ln(2)}
.

To avoid such ambiguities, in mathematical textbooks it is common to require that the given integral converges absolutely, with πŸ‘ {\displaystyle E[X]}
left undefined otherwise.[17] However, measure-theoretic notions as given below can be used to give a systematic definition of πŸ‘ {\displaystyle E[X]}
for more general random variables πŸ‘ {\displaystyle X}
.

Arbitrary real-valued random variables

[edit]

All definitions of the expected value may be expressed in the language of measure theory. In general, if πŸ‘ {\displaystyle X}
is a real-valued random variable defined on a probability space πŸ‘ {\displaystyle (\Omega ,\Sigma ,P)}
, then the expected value of πŸ‘ {\displaystyle X}
, denoted by πŸ‘ {\displaystyle E[X]}
, is defined as the Lebesgue integral[18] πŸ‘ {\displaystyle \operatorname {E} [X]=\int _{\Omega }X\,d\operatorname {P} .}
Despite the newly abstract situation, this definition is extremely similar in nature to the very simplest definition of expected values, given above, as certain weighted averages. This is because, in measure theory, the value of the Lebesgue integral of πŸ‘ {\displaystyle X}
is defined via weighted averages of approximations of πŸ‘ {\displaystyle X}
which take on finitely many values.[19] Moreover, if given a random variable with finitely or countably many possible values, the Lebesgue theory of expectation is identical to the summation formulas given above. However, the Lebesgue theory clarifies the scope of the theory of probability density functions. A random variable πŸ‘ {\displaystyle X}
is said to be absolutely continuous if any of the following conditions are satisfied:

These conditions are all equivalent, although this is nontrivial to establish.[20] In this definition, πŸ‘ {\displaystyle f}
is called the probability density function of πŸ‘ {\displaystyle X}
(relative to Lebesgue measure). According to the change-of-variables formula for Lebesgue integration,[21] combined with the law of the unconscious statistician,[22] it follows that πŸ‘ {\displaystyle \operatorname {E} [X]\equiv \int _{\Omega }X\,d\operatorname {P} =\int _{\mathbb {R} }xf(x)\,dx}
for any absolutely continuous random variable πŸ‘ {\displaystyle X}
. The above discussion of continuous random variables is thus a special case of the general Lebesgue theory, due to the fact that every piecewise-continuous function is measurable.

πŸ‘ Expected value ΞΌ and median π‘š
Expected value ΞΌ and median π‘š

The expected value of any real-valued random variable πŸ‘ {\displaystyle X}
can also be defined on the graph of its cumulative distribution function πŸ‘ {\displaystyle F}
by a nearby equality of areas. In fact, πŸ‘ {\displaystyle \operatorname {E} [X]=\mu }
with a real number πŸ‘ {\displaystyle \mu }
if and only if the two surfaces in the πŸ‘ {\displaystyle x}
-πŸ‘ {\displaystyle y}
-plane, described by πŸ‘ {\displaystyle x\leq \mu ,\;\,0\leq y\leq F(x)\quad {\text{or}}\quad x\geq \mu ,\;\,F(x)\leq y\leq 1}
respectively, have the same finite area, i.e. if πŸ‘ {\displaystyle \int _{-\infty }^{\mu }F(x)\,dx=\int _{\mu }^{\infty }{\big (}1-F(x){\big )}\,dx}
and both improper Riemann integrals converge. Finally, this is equivalent to the representation πŸ‘ {\displaystyle \operatorname {E} [X]=\int _{0}^{\infty }{\bigl (}1-F(x){\bigr )}\,dx-\int _{-\infty }^{0}F(x)\,dx,}
also with convergent integrals.[23]

Example

[edit]

Let the daily precipitation (unit: πŸ‘ {\displaystyle \textstyle \mathrm {L} /\mathrm {m} ^{2}=\mathrm {mm} }
) at a location be simply modeled as a real-valued random variable πŸ‘ {\displaystyle X}
for which the following holds: πŸ‘ {\displaystyle \mathrm {P} (X\!<\!0)=0,\qquad \mathrm {P} (X\!>\!x)=\alpha \!\ \mathrm {e} ^{-\lambda x}\;{\text{ if }}x\geq 0}
with two positive constants πŸ‘ {\displaystyle \alpha <1}
and πŸ‘ {\displaystyle \lambda .}
The cumulative distribution function πŸ‘ {\displaystyle F\colon \,\mathbb {R} \to \mathbb {R} }
of πŸ‘ {\displaystyle X}
is thus obtained as πŸ‘ {\displaystyle F(x)={\begin{cases}0&{\text{for }}x<0,\\1-\alpha \!\ \mathrm {e} ^{-\lambda x}&{\text{for }}x\geq 0.\end{cases}}}
Its only point of discontinuity is πŸ‘ {\displaystyle x=0}
with jump height πŸ‘ {\displaystyle 1-\alpha <1.}
Therefore, the random variable πŸ‘ {\displaystyle X}
is neither discrete nor does it have a density. The latter representation of πŸ‘ {\displaystyle \mathrm {E} [X]}
as difference of two improper Riemann integrals leads to πŸ‘ {\displaystyle \mathrm {E} [X]=\int _{0}^{\infty }\alpha \!\ \mathrm {e} ^{-\lambda x}\,dx=\lim _{b\to \infty }\left[-{\frac {\alpha }{\lambda }}\,\mathrm {e} ^{-\lambda x}\right]_{0}^{b}={\frac {\alpha }{\lambda }}\,.}
For instance, the rough values πŸ‘ {\displaystyle \alpha ={\tfrac {1}{2}}}
and πŸ‘ {\displaystyle \lambda ={\tfrac {1}{4\!\ \mathrm {mm} }}}
result in the expected value πŸ‘ {\displaystyle \mathrm {E} [X]=2\,\mathrm {mm} .}
[23]

Infinite expected values

[edit]

Expected values as defined above are automatically finite numbers. However, in many cases it is fundamental to be able to consider expected values of πŸ‘ {\displaystyle \pm \infty }
. This is intuitive, for example, in the case of the St. Petersburg paradox, in which one considers a random variable with possible outcomes πŸ‘ {\displaystyle x_{i}=2^{i}}
, with associated probabilities πŸ‘ {\displaystyle p_{i}=2^{-i}}
, for πŸ‘ {\displaystyle i}
ranging over all positive integers. According to the summation formula in the case of random variables with countably many outcomes, one has πŸ‘ {\displaystyle \operatorname {E} [X]=\sum _{i=1}^{\infty }x_{i}\,p_{i}=2\cdot {\frac {1}{2}}+4\cdot {\frac {1}{4}}+8\cdot {\frac {1}{8}}+16\cdot {\frac {1}{16}}+\cdots =1+1+1+1+\cdots .}
It is natural to say that the expected value equals πŸ‘ {\displaystyle +\infty }
.

There is a rigorous mathematical theory underlying such ideas, which is often taken as part of the definition of the Lebesgue integral.[19] The first fundamental observation is that, whichever of the above definitions are followed, any nonnegative random variable whatsoever can be given an unambiguous expected value; whenever absolute convergence fails, then the expected value can be defined as πŸ‘ {\displaystyle +\infty }
. The second fundamental observation is that any random variable can be written as the difference of two nonnegative random variables. Given a random variable πŸ‘ {\displaystyle X}
, one defines the positive and negative parts by πŸ‘ {\displaystyle X^{+}=\max(X,0)}
and πŸ‘ {\displaystyle X^{-}=\max(-X,0)}
. These are nonnegative random variables, and it can be directly checked that πŸ‘ {\displaystyle X=X^{+}-X^{-}}
. Since πŸ‘ {\displaystyle E[X^{+}]}
and πŸ‘ {\displaystyle E[X^{-}]}
are both then defined as either nonnegative numbers or +∞, it is then natural to define: πŸ‘ {\displaystyle \operatorname {E} [X]={\begin{cases}\operatorname {E} [X^{+}]-\operatorname {E} [X^{-}]&{\text{if }}\operatorname {E} [X^{+}]<\infty {\text{ and }}\operatorname {E} [X^{-}]<\infty ;\\+\infty &{\text{if }}\operatorname {E} [X^{+}]=\infty {\text{ and }}\operatorname {E} [X^{-}]<\infty ;\\-\infty &{\text{if }}\operatorname {E} [X^{+}]<\infty {\text{ and }}\operatorname {E} [X^{-}]=\infty ;\\{\text{undefined}}&{\text{if }}\operatorname {E} [X^{+}]=\infty {\text{ and }}\operatorname {E} [X^{-}]=\infty .\end{cases}}}

According to this definition, πŸ‘ {\displaystyle E[X]}
exists and is finite if and only if πŸ‘ {\displaystyle E[X^{+}]}
and πŸ‘ {\displaystyle E[X^{-}]}
are both finite. Due to the formula πŸ‘ {\displaystyle \left|X\right|=X^{+}+X^{-}}
, this is the case if and only if πŸ‘ {\displaystyle E[\left|X\right|]}
is finite, and this is equivalent to the absolute convergence conditions in the definitions above. As such, the present considerations do not define finite expected values in any cases not previously considered; they are only useful for infinite expectations.

Tail-sum formula

[edit]

In the case of a non-negative integer-valued random variable πŸ‘ {\displaystyle X}
, the expected value can also be expressed in terms of its tail probabilities (sometimes called the tail-sum formula):

πŸ‘ {\displaystyle \operatorname {E} [X]=\sum _{k=0}^{\infty }\Pr(X>k).}

A more general version holds for any non-negative random variable (discrete or continuous):

πŸ‘ {\displaystyle \operatorname {E} [X]=\int _{0}^{\infty }\Pr(X>t)\,dt,}

where the integrand is the survival function of πŸ‘ {\displaystyle X}
.

Expected values of common distributions

[edit]

The following table gives the expected values of some commonly occurring probability distributions. The third column gives the expected values both in the form immediately given by the definition, as well as in the simplified form obtained by computation therefrom. The details of these computations, which are not always straightforward, can be found in the indicated references.

Distribution Notation Mean E(X)
Bernoulli[24] πŸ‘ {\displaystyle X\sim ~b(1,p)}
πŸ‘ {\displaystyle 0\cdot (1-p)+1\cdot p=p}
Binomial[25] πŸ‘ {\displaystyle X\sim B(n,p)}
πŸ‘ {\displaystyle \sum _{i=0}^{n}i{n \choose i}p^{i}(1-p)^{n-i}=np}
Poisson[26] πŸ‘ {\displaystyle X\sim \mathrm {Po} (\lambda )}
πŸ‘ {\displaystyle \sum _{i=0}^{\infty }{\frac {ie^{-\lambda }\lambda ^{i}}{i!}}=\lambda }
Geometric[27] πŸ‘ {\displaystyle X\sim \mathrm {Geometric} (p)}
πŸ‘ {\displaystyle \sum _{i=1}^{\infty }ip(1-p)^{i-1}={\frac {1}{p}}}
Uniform[28] πŸ‘ {\displaystyle X\sim U(a,b)}
πŸ‘ {\displaystyle \int _{a}^{b}{\frac {x}{b-a}}\,dx={\frac {a+b}{2}}}
Exponential[29] πŸ‘ {\displaystyle X\sim \exp(\lambda )}
πŸ‘ {\displaystyle \int _{0}^{\infty }\lambda xe^{-\lambda x}\,dx={\frac {1}{\lambda }}}
Normal[30] πŸ‘ {\displaystyle X\sim N(\mu ,\sigma ^{2})}
πŸ‘ {\displaystyle {\frac {1}{\sqrt {2\pi \sigma ^{2}}}}\int _{-\infty }^{\infty }x\,e^{-{\frac {1}{2}}\left({\frac {x-\mu }{\sigma }}\right)^{2}}\,dx=\mu }
Standard Normal[31] πŸ‘ {\displaystyle X\sim N(0,1)}
πŸ‘ {\displaystyle {\frac {1}{\sqrt {2\pi }}}\int _{-\infty }^{\infty }xe^{-x^{2}/2}\,dx=0}
Pareto[32] πŸ‘ {\displaystyle X\sim \mathrm {Par} (\alpha ,k)}
πŸ‘ {\displaystyle \int _{k}^{\infty }\alpha k^{\alpha }x^{-\alpha }\,dx={\begin{cases}{\frac {\alpha k}{\alpha -1}}&{\text{if }}\alpha >1\\\infty &{\text{if }}0<\alpha \leq 1\end{cases}}}
Cauchy[33] πŸ‘ {\displaystyle X\sim \mathrm {Cauchy} (x_{0},\gamma )}
πŸ‘ {\displaystyle {\frac {1}{\pi }}\int _{-\infty }^{\infty }{\frac {\gamma x}{(x-x_{0})^{2}+\gamma ^{2}}}\,dx}
is undefined

Properties

[edit]

The basic properties below (and their names in bold) replicate or follow immediately from those of Lebesgue integral. Note that the letters "a.s." stand for "almost surely"β€”a central property of the Lebesgue integral. Basically, one says that an inequality like πŸ‘ {\displaystyle X\geq 0}
is true almost surely, when the probability measure attributes zero-mass to the complementary event πŸ‘ {\displaystyle \left\{X<0\right\}.}

Inequalities

[edit]

Concentration inequalities control the likelihood of a random variable taking on large values. Markov's inequality is among the best-known and simplest to prove: for a nonnegative random variable X and any positive number a, it states that[37] πŸ‘ {\displaystyle \operatorname {P} (X\geq a)\leq {\frac {\operatorname {E} [X]}{a}}.}

If X is any random variable with finite expectation, then Markov's inequality may be applied to the random variable |Xβˆ’E[X]|2 to obtain Chebyshev's inequality πŸ‘ {\displaystyle \operatorname {P} (|X-{\text{E}}[X]|\geq a)\leq {\frac {\operatorname {Var} [X]}{a^{2}}},}
where Var is the variance.[37] These inequalities are significant for their nearly complete lack of conditional assumptions. For example, for any random variable with finite expectation, the Chebyshev inequality implies that there is at least a 75% probability of an outcome being within two standard deviations of the expected value. However, in special cases the Markov and Chebyshev inequalities often give much weaker information than is otherwise available. For example, in the case of an unweighted dice, Chebyshev's inequality says that odds of rolling between 1 and 6 is at least 53%; in reality, the odds are of course 100%.[38] The Kolmogorov inequality extends the Chebyshev inequality to the context of sums of random variables.[39]

The following three inequalities are of fundamental importance in the field of mathematical analysis and its applications to probability theory.

The HΓΆlder and Minkowski inequalities can be extended to general measure spaces, and are often given in that context. By contrast, the Jensen inequality is special to the case of probability spaces.

Expectations under convergence of random variables

[edit]

In general, it is not the case that πŸ‘ {\displaystyle \operatorname {E} [X_{n}]\to \operatorname {E} [X]}
even if πŸ‘ {\displaystyle X_{n}\to X}
pointwise. Thus, one cannot interchange limits and expectation, without additional conditions on the random variables. To see this, let πŸ‘ {\displaystyle U}
be a random variable distributed uniformly on πŸ‘ {\displaystyle [0,1].}
For πŸ‘ {\displaystyle n\geq 1,}
define a sequence of random variables πŸ‘ {\displaystyle X_{n}=n\cdot \mathbf {1} \left\{U\in \left(0,{\tfrac {1}{n}}\right)\right\},}
with πŸ‘ {\displaystyle \mathbf {1} \{A\}}
being the indicator function of the event πŸ‘ {\displaystyle A.}
Then, it follows that πŸ‘ {\displaystyle X_{n}\to 0}
pointwise. But, πŸ‘ {\displaystyle \operatorname {E} [X_{n}]=n\cdot \Pr \left(U\in \left[0,{\tfrac {1}{n}}\right]\right)=n\cdot {\tfrac {1}{n}}=1}
for each πŸ‘ {\displaystyle n.}
Hence, πŸ‘ {\displaystyle \lim _{n\to \infty }\operatorname {E} [X_{n}]=1\neq 0=\operatorname {E} \left[\lim _{n\to \infty }X_{n}\right].}

Analogously, for general sequence of random variables πŸ‘ {\displaystyle \{Y_{n}:n\geq 0\},}
the expected value operator is not πŸ‘ {\displaystyle \sigma }
-additive, i.e. πŸ‘ {\displaystyle \operatorname {E} \left[\sum _{n=0}^{\infty }Y_{n}\right]\neq \sum _{n=0}^{\infty }\operatorname {E} [Y_{n}].}

An example is easily obtained by setting πŸ‘ {\displaystyle Y_{0}=X_{1}}
and πŸ‘ {\displaystyle Y_{n}=X_{n+1}-X_{n}}
for πŸ‘ {\displaystyle n\geq 1,}
where πŸ‘ {\displaystyle X_{n}}
is as in the previous example.

A number of convergence results specify exact conditions which allow one to interchange limits and expectations, as specified below.

Relationship with characteristic function

[edit]

The probability density function πŸ‘ {\displaystyle f_{X}}
of a scalar random variable πŸ‘ {\displaystyle X}
is related to its characteristic function πŸ‘ {\displaystyle \varphi _{X}}
by the inversion formula: πŸ‘ {\displaystyle f_{X}(x)={\frac {1}{2\pi }}\int _{\mathbb {R} }e^{-itx}\varphi _{X}(t)\,dt.}

For the expected value of πŸ‘ {\displaystyle g(X)}
(where πŸ‘ {\displaystyle g:{\mathbb {R} }\to {\mathbb {R} }}
is a Borel function), we can use this inversion formula to obtain πŸ‘ {\displaystyle \operatorname {E} [g(X)]={\frac {1}{2\pi }}\int _{\mathbb {R} }g(x)\left[\int _{\mathbb {R} }e^{-itx}\varphi _{X}(t)\,dt\right]dx.}

If πŸ‘ {\displaystyle \operatorname {E} [g(X)]}
is finite, changing the order of integration, we get, in accordance with Fubini–Tonelli theorem, πŸ‘ {\displaystyle \operatorname {E} [g(X)]={\frac {1}{2\pi }}\int _{\mathbb {R} }G(t)\varphi _{X}(t)\,dt,}
where πŸ‘ {\displaystyle G(t)=\int _{\mathbb {R} }g(x)e^{-itx}\,dx}
is the Fourier transform of πŸ‘ {\displaystyle g(x).}
The expression for πŸ‘ {\displaystyle \operatorname {E} [g(X)]}
also follows directly from the Plancherel theorem.

Uses and applications

[edit]

The expectation of a random variable plays an important role in a variety of contexts.

In statistics, where one seeks estimates for unknown parameters based on available data gained from samples, the sample mean serves as an estimate for the expectation, and is itself a random variable. In such settings, the sample mean is considered to meet the desirable criterion for a "good" estimator in being unbiased; that is, the expected value of the estimate is equal to the true value of the underlying parameter.

For a different example, in decision theory, an agent making an optimal choice in the context of incomplete information is often assumed to maximize the expected value of their utility function.

It is possible to construct an expected value equal to the probability of an event by taking the expectation of an indicator function 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.

The expected values of the powers of X are called the moments of X; the moments about the mean of X are expected values of powers of X βˆ’ E[X]. 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. 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 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.

This property is often exploited in a wide variety of applications, including general problems of statistical estimation and machine learning, to estimate (probabilistic) quantities of interest via Monte Carlo methods, since most quantities of interest can be written in terms of expectation, e.g. πŸ‘ {\displaystyle \operatorname {P} ({X\in {\mathcal {A}}})=\operatorname {E} [{\mathbf {1} }_{\mathcal {A}}],}
where πŸ‘ {\displaystyle {\mathbf {1} }_{\mathcal {A}}}
is the indicator function of the set πŸ‘ {\displaystyle {\mathcal {A}}.}

πŸ‘ Image
The mass of probability distribution is balanced at the expected value, here a Beta(Ξ±,Ξ²) distribution with expected value Ξ±/(Ξ±+Ξ²).

In classical mechanics, the center of mass is an analogous concept to expectation. For example, suppose X is a discrete random variable with values xi and corresponding probabilities pi. Now consider a weightless rod on which are placed weights, at locations xi along the rod and having masses pi (whose sum is one). The point at which the rod balances is E[X].

Expected values can also be used to compute the variance, by means of the computational formula for the variance πŸ‘ {\displaystyle \operatorname {Var} (X)=\operatorname {E} [X^{2}]-(\operatorname {E} [X])^{2}.}

A very important application of the expectation value is in the field of quantum mechanics. The expectation value of a quantum mechanical operator πŸ‘ {\displaystyle {\hat {A}}}
operating on a quantum state vector πŸ‘ {\displaystyle |\psi \rangle }
is written as πŸ‘ {\displaystyle \langle {\hat {A}}\rangle =\langle \psi |{\hat {A}}|\psi \rangle .}
The uncertainty in πŸ‘ {\displaystyle {\hat {A}}}
can be calculated by the formula πŸ‘ {\displaystyle (\Delta A)^{2}=\langle {\hat {A}}^{2}\rangle -\langle {\hat {A}}\rangle ^{2}}
.

See also

[edit]

References

[edit]
  1. ^ "Expectation | Mean | Average". www.probabilitycourse.com. Retrieved 2020-09-11.
  2. ^ Hansen, Bruce. "PROBABILITY AND STATISTICS FOR ECONOMISTS" (PDF). Archived from the original (PDF) on 2022-01-19. Retrieved 2021-07-20.
  3. ^ Wasserman, Larry (December 2010). All of Statistics: A Concise Course in Statistical Inference. Springer texts in statistics. p. 47. ISBN 9781441923226.
  4. ^ Hald, Anders (1990). History of Probability and Statistics and Their Applications before 1750. Wiley Series in Probability and Statistics. doi:10.1002/0471725161. ISBN 9780471725169.
  5. ^ Ore, Øystein (1960). "Ore, Pascal and the Invention of Probability Theory". The American Mathematical Monthly. 67 (5): 409–419. doi:10.2307/2309286. JSTOR 2309286.
  6. ^ Mackey, George (July 1980). "Harmonic Analysis as The Exploitation of Symmetry - A Historical Survey" (PDF). Bulletin of the American Mathematical Society. New Series. 3 (1): 549.
  7. ^ Huygens, Christian. "The Value of Chances in Games of Fortune. English Translation" (PDF).
  8. ^ Laplace, Pierre-Simon (1952) [1951]. A philosophical essay on probabilities. Dover Publications. OCLC 475539.
  9. ^ Whitworth, W.A. (1901) Choice and Chance with One Thousand Exercises. Fifth edition. Deighton Bell, Cambridge. [Reprinted by Hafner Publishing Co., New York, 1959.]
  10. ^ "Earliest uses of symbols in probability and statistics".
  11. ^ Feller 1968, p. 221.
  12. ^ Billingsley 1995, p. 76.
  13. ^ Ross 2019, Section 2.4.1.
  14. ^ a b Feller 1968, Section IX.2.
  15. ^ Papoulis & Pillai 2002, Section 5-3; Ross 2019, Section 2.4.2.
  16. ^ Feller 1971, Section I.2.
  17. ^ Feller 1971, p. 5.
  18. ^ Billingsley 1995, p. 273.
  19. ^ a b Billingsley 1995, Section 15.
  20. ^ Billingsley 1995, Theorems 31.7 and 31.8 and p. 422.
  21. ^ Billingsley 1995, Theorem 16.13.
  22. ^ Billingsley 1995, Theorem 16.11.
  23. ^ a b Uhl, Roland (2023). Charakterisierung des Erwartungswertes am Graphen der Verteilungsfunktion [Characterization of the expected value on the graph of the cumulative distribution function] (PDF). Technische Hochschule Brandenburg. pp. 2–4. doi:10.25933/opus4-2986. Archived from the original on 2023-12-24.
  24. ^ Casella & Berger 2001, p. 89; Ross 2019, Example 2.16.
  25. ^ Casella & Berger 2001, Example 2.2.3; Ross 2019, Example 2.17.
  26. ^ Billingsley 1995, Example 21.4; Casella & Berger 2001, p. 92; Ross 2019, Example 2.19.
  27. ^ Casella & Berger 2001, p. 97; Ross 2019, Example 2.18.
  28. ^ Casella & Berger 2001, p. 99; Ross 2019, Example 2.20.
  29. ^ Billingsley 1995, Example 21.3; Casella & Berger 2001, Example 2.2.2; Ross 2019, Example 2.21.
  30. ^ Casella & Berger 2001, p. 103; Ross 2019, Example 2.22.
  31. ^ Billingsley 1995, Example 21.1; Casella & Berger 2001, p. 103.
  32. ^ Johnson, Kotz & Balakrishnan 1994, Chapter 20.
  33. ^ Feller 1971, Section II.4.
  34. ^ a b c Weisstein, Eric W. "Expectation Value". mathworld.wolfram.com. Retrieved 2020-09-11.
  35. ^ Feller 1971, Section V.6.
  36. ^ Papoulis & Pillai 2002, Section 6-4.
  37. ^ a b Feller 1968, Section IX.6; Feller 1971, Section V.7; Papoulis & Pillai 2002, Section 5-4; Ross 2019, Section 2.8.
  38. ^ Feller 1968, Section IX.6.
  39. ^ Feller 1968, Section IX.7.
  40. ^ a b c d Feller 1971, Section V.8.
  41. ^ Billingsley 1995, pp. 81, 277.
  42. ^ Billingsley 1995, Section 19.

Bibliography

[edit]