MathorynMathematical Formula Database

Statistics & Probability

Expected Value

The expected value is the probability-weighted average of the values of a random variable; it is the long-run average over many repetitions. It is used to compare games, insurance policies and investments by their average outcome.

E(X)=∑ixi P(X=xi)E(X)=\sum_i x_i\,P(X=x_i)
LaTeXE(X)=\sum_i x_i\,P(X=x_i)

Variables

XX
discrete random variable
xix_i
possible values
P(X=xi)P(X=x_i)
their probabilities

Example

Expected value of a fair die.

  1. 1+2+3+4+5+66=216\frac{1+2+3+4+5+6}{6}=\frac{21}{6}.

Answer: E(X)=3.5E(X)=3.5.

Related formulas