You are working with the text-only light edition of "H.Lohninger: Teach/Me Data Analysis, Springer-Verlag, Berlin-New York-Tokyo, 1999. ISBN 3-540-14743-8". Click here for further information.

Expectation

The mathematical expectation is a concept which is often misunderstood and confused with the mean. In fact the expectation could be the mean, but must not necessarily be the same. The expectation is a more general concept which provides a formalism to estimate the expected value of a random variable (a function) for a population with a known probability distribution function. The expectation of a continuous random variable can be calculated as follows

The corresponding equation for discrete random variables is

with
n .... number of observations
g(x) .... random variable
f(x) .... probability distribution function
p(xi) .... probability of the observation i


The expectation can be used to compute the mean by simply using g(x) = x as the random variable:

or for a discrete random variable:

If the probabilities of all n observations p() are equal, i.e. p() = 1/n, this equation can be reduced to

There are several rules concerning expectation values which can be applied to derive the expected values of more complicated random variables.

Last Update: 2006-Jän-17