Moments

Moments are measures of a distribution's shape and density.


Description

The first raw moment is the mean: μ = E[X]. For discrete variables, this is calculated as Σ x P(x=X); for continuous variables, as ∫ x f(x) dx

The second central moment is the variance: σ2 = E[(X - E[X])2] = E[(X - μ)2] = E(X2) - (E[X])2

The derivation of this for discrete variables is:

The derivation of this for continuous variables is:

Through these derivations, it can be easily proven that (1) constants added to a variable do not affect variance, and (2) constant multipliers applied to a variable scale variance by their square. This is succinctly summarized as Var(aX + b) = a2 Var(X)

The third central moment, skewness, measures lopsidedness of a distribution.

The fourth central moment, kurtosis, measures the heaviness of the tails on a distribution.


Errors

Models generally assume that individual errors average to zero, i.e. the first moment of errors is zero: E[Ŷ - Y] = 0. Nonetheless, higher order moments are important.

The mean square error (MSE) is the second moment of the error: MSE(ˆθ) = E[(ˆθ - E[ˆθ])2]. MSE can be decomposed into the variance of the estimator and bias: MSE(ˆθ) = Var(ˆθ) + Bias(ˆθ,θ)2 = Var(ˆθ) + (E[ˆθ]-θ)2.

Two important notes:


CategoryRicottone

Statistics/Moments (last edited 2025-08-10 00:45:17 by DominicRicottone)