Expected value

From testwiki
Jump to navigation Jump to search
Rolling a dice, the mean converges to the expected value of 3.5

In probability theory and statistics, the expected value of a random variable X (represented by the symbol E(X)[1]) is the average value the variable will take, that is, assuming that the experiment is repeated an infinite number of times, and the mean (or weighted average) of all the values is calculated along the way.[2]

By definition, the expected value of a discrete random variable X is calculated by the formula xxP(X=x), where P(X=x) is the probability that X equals x, and x ranges over all possible values of X.[3]

The Law of large numbers describes how this happens.

Relationship to weighted average

It is possible to think of the expected value as a weighted average, where the weights, wj, are equal to P(X=xj). The sum over all probabilities,jP(X=xj), equals one (1). This allows us to write the weighted average as:

jwjxjjwj=xxP(X=x)=E(X)

References

Template:Math-stub