// Statistics

EXPECTED VALUE

Find the long-run average of a discrete random variable.

E(X) = Σ xᵢ·pᵢ; Var(X) = Σ pᵢ·(xᵢ − E(X))².