Distributions

Introduction

The mean or expected value of a random variable x is defined as

E(X) = Σ(X * p(X))

where p(X) is the probability of X occurring.

Form

E(X) = Σ[ xi * P(xi) ]
Var(X) = Σ[ xi - E(x) ]2 * P(xi)