Explanation
A random variable X gives a number to each…
A random variable turns outcomes into numbers, like the number of heads in two tosses. Its distribution lists each value with its probability, and the probabilities always add to one.
A random variable X gives a number to each outcome · its distribution lists P(X = x), adding to 1
E(X) = Σ x P(x) · Var(X) = E(X²) − [E(X)]²
The mean, or expected value, weights each value by its probability. The variance is the mean of the squares minus the square of the mean.
E(X) = Σ x P(x) · Var(X) = E(X²) − [E(X)]²
E(aX + b) = aE(X) + b · Var(aX + b) = a² Var(X)
Scaling and shifting: the mean follows along, a times the mean plus b. The variance ignores the shift and squares the scale.
E(aX + b) = aE(X) + b · Var(aX + b) = a² Var(X)
Geometric probability = favourable length or area…
When a point is picked at random from a line or a region, probability is a ratio of lengths or areas, not a count.
Geometric probability = favourable length or area ÷ total length or area
Fair game
A game is fair when your expected gain is zero. Positive means it favours you; negative means the house wins in the long run.
Fair game: expected gain = 0
Worked example
X = number of heads in 2 tosses. E(X) = 0(¼) + 1(½) + 2(¼) = 1.
E(X²) = 0 + ½ + 4(¼) = 1. 5.
Var(X) = 1. 5 − 1 = 0.
5.