Central moment

In probability theory and statistics, the kth moment about the mean (or kth central moment) of a real-valued random variable X is the quantity E[(X &minus; E[X])k], where E is the expectation operator. Some random variables have no mean, in which case the moment about the mean is not defined. The kth moment about the mean is often denoted &mu;k. For a continuous univariate probability distribution with probability density function f(x) the moment about the mean &mu; is



\mu_k = \left\langle ( x - \langle x \rangle )^k \right\rangle = \int_{-\infty}^{+\infty} (x - \mu)^k f(x)\,dx. $$

Sometimes it is convenient to convert moments about the origin to moments about the mean. The general equation for converting the nth-order moment about the origin to the moment about the mean is



\mu_n = \sum_{j=0}^n {n \choose j} (-1) ^{n-j} \mu'_j m^{n-j}, $$

where m is the mean of the distribution, and the moment about the origin is given by



\mu'_j = \int_{-\infty}^{+\infty} x^j f(x)\,dx. $$

The first moment about the mean is zero. The second moment about the mean is called the variance, and is usually denoted &sigma;2, where &sigma; represents the standard deviation. The third and fourth moments about the mean are used to define the standardized moments which are in turn used to define skewness and kurtosis, respectively.

For n &ge; 2, the nth central moment is translation-invariant, i.e. for any random variable X and any constant c, we have


 * $$\mu_n(X+c)=\mu_n(X).\,$$

For all n, the nth central moment is homogeneous of degree n:


 * $$\mu_n(cX)=c^n\mu_n(X).\,$$

Only for n &le; 3 do we have an additivity property for random variables X and Y that are independent:


 * $$\mu_n(X+Y)=\mu_n(X)+\mu_n(Y)\ \mathrm{provided}\ n\leq 3.\,$$

A related functional that shares the translation-invariance and homogeneity properties with the nth central moment, but continues to have this additivity property even when n &ge; 4 is the nth cumulant &kappa;n(X). For n = 1, the nth cumulant is just the expected value; for n = either 2 or 3, the nth cumulant is just the nth central moment; for n &ge; 4, the nth cumulant is an nth-degree monic polynomial in the first n moments (about zero), and is also a (simpler) nth-degree polynomial in the first n central moments.

Central moments 2, 3, and 4
As mentioned above, the second central moment is the variance, and the third and fourth central moments are related to the skewness and kurtosis, respectively. It is therefore useful to have the formulae for these central moments in terms of the moments about the origin. These are:


 * $$\mu_2 = \mu'_2 - m^2$$


 * $$\mu_3 = \mu'_3 - 3 m \mu'_2 + 2 m^3$$


 * $$\mu_4 = \mu'_4 - 4 m \mu'_3 + 6 m^2 \mu'_2 - 3 m^4$$

where $$m$$ is the mean, as before.