Moments and variance
Definition: The kth moment of a random variable X is E[Xk]=∑xxk⋅pX(x).
In practice, only the first and second moment are commonly used.
Definition: The variance of a random variable X is Var[X]=E[(X−E[X])2].
The standard deviation (√Var[X]) of X is the limiting object of the usual standard deviation we calculate from a dataset.
Theorem: Let X be a random variable, and c some real constant. Then, the following holds:
- Moment: Var[X]=E[X2]−E[X]2
- Scale: Var[cX]=c2⋅Var[X]
- Shift invariant: Var[c+X]=Var[X]