Skip to content

Statistics · Ch 6 — Random Variable and Discrete Probability Distribution

Expectation (Mean) of a Random Variable

3

Expectation (Mean) of a Random Variable

The expectation or mean of a discrete random variable XX, denoted E(X)E(X) or μ\mu, is the probability-weighted average of the values XX can take. It tells us the long-run average outcome if the random experiment were repeated a very large number of times.

E(X)=μ=∑ixi p(xi)E(X) = \mu = \sum_{i} x_i \, p(x_i)

Properties of expectation (useful for shortcuts):

  • E(c)=cE(c) = c for any constant cc.
  • E(aX)=a E(X)E(aX) = a\,E(X) for any constant aa.
  • E(aX+b)=a E(X)+bE(aX + b) = a\,E(X) + b for constants a,ba, b — a linear change of scale/origin in XX produces the same linear change in its mean.

Example. For the two-coin experiment of the previous section (X=0,1,2X = 0,1,2 with probabilities 14,12,14\tfrac14, \tfrac12, \tfrac14): …