Mean of a random variable

The mean of a random variable, written mu-X, is its long-run average: multiply each value by its probability and add all the products.

The mean of a random variable is a weighted average in which each value counts in proportion to how likely it is, so μX=xiP(xi)\mu_X = \sum x_i P(x_i) (mu-X, the sum of each value times its probability). Suppose the number of defective items in a box is 0 with probability 0.50.5, 1 with probability 0.30.3, and 2 with probability 0.20.2. Then μX=0(0.5)+1(0.3)+2(0.2)=0.7\mu_X = 0(0.5) + 1(0.3) + 2(0.2) = 0.7 defects. Notice that 0.70.7 is not a value XX can ever take, which is fine: the mean is the balance point of the probability distribution, not a prediction for any single box.

More random variables and distributions terms, or browse the full statistics glossary.