Mean of a random variable
By Jude Wallis · Updated
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 (mu-X, the sum of each value times its probability), taken across every value of a distribution whose probabilities total 1. Each value enters in proportion to how likely it is, which is what separates it from an ordinary average of the values. It is a parameter: one fixed number belonging to the distribution, settled before any data exist.
Let be the number of defective items in a box, with , and . Then defects. The physical name for that number is the balance point. Put weights of 0.5, 0.3 and 0.2 at positions 0, 1 and 2 along a beam and it balances at 0.7, because the pull on the left is and the pull on the right is .
"The mean is 0.7, so about 70 percent of boxes have a defect" is the misreading to kill. A mean is not a proportion, and it is not capped at 1; it only looks like a percentage here because the counts happen to be small. The share of boxes with at least one defect is . Change the values to 0, 1 and 10 with those same probabilities and jumps to while that share stays at 0.50.
The distinction that matters downstream is against (x-bar). Inspect 20 real boxes and their average will land somewhere near 0.7 without matching it; inspect 20,000 and it will sit closer. The mean of the distribution is the fixed number a sample mean converges toward, never a forecast for the next box.
This is topic 2.9 of Unit 2, Parameters of Random Variables.
More random variables and distributions terms, or browse the full statistics glossary.