# Central moment

In probability theory and statistics, a central moment is a moment of a probability distribution of a random variable about the random variable's mean; that is, it is the expected value of a specified integer power of the deviation of the random variable from the mean. The various moments form one set of values by which the properties of a probability distribution can be usefully characterized. Central moments are used in preference to ordinary moments, computed in terms of deviations from the mean instead of from zero, because the higher-order central moments relate only to the spread and shape of the distribution, rather than also to its location.
Sets of central moments can be defined for both univariate and multivariate distributions.

## Univariate moments

The nth moment about the mean (or nth central moment) of a real-valued random variable X is the quantity μ$_n$ := E[(X − E[X])$^n$], where E is the expectation operator. For a continuous univariate probability distribution with probability density function f(x), the nth moment about the mean μ is
    $\mu _{n}=\operatorname {E} \left[(X-\operatorname {E} [X])^{n}\right]=\int _{-\infty }^{+\infty }(x-\mu )^{n}f(x)\,\mathrm {d} x.$
For random variables that have no mean, such as the Cauchy distribution, central moments are not defined.
The first few central moments have intuitive interpretations:
* The "zeroth" central moment μ$_0$ is 1.
* The first central moment μ$_1$ is 0 (not to be confused with the first raw moment or the expected value μ).
* The second central moment μ$_2$ is called the variance, and is usually denoted σ$^2$, where σ represents the standard deviation.
* The third and fourth central moments are used to define the standardized moments which are used to define skewness and kurtosis, respectively.

### Properties

For all n, the nth central moment is homogeneous of degree n:
    $\mu _{n}(cX)=c^{n}\mu _{n}(X).\,$
Only for n such that n equals 1, 2, or 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)\,$ provided n ∈ {1, 2, 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 ≥ 4 is the nth cumulant κ$_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 ≥ 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.

### Relation to moments about the origin

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}=\operatorname {E} \left[\left(X-\operatorname {E} [X]\right)^{n}\right]=\sum _{j=0}^{n}{n \choose j}(-1)^{n-j}\mu '_{j}\mu ^{n-j},$
where μ is the mean of the distribution, and the moment about the origin is given by
    $\mu '_{m}=\int _{-\infty }^{+\infty }x^{m}f(x)\,dx=\operatorname {E} [X^{m}]=\sum _{j=0}^{m}{m \choose j}\mu _{j}\mu ^{m-j}.$
For the cases n = 2, 3, 4 — which are of most interest because of the relations to variance, skewness, and kurtosis, respectively — this formula becomes (noting that $\mu =\mu '_{1}$ and $\mu '_{0}=1$):
    $\mu _{2}=\mu '_{2}-\mu ^{2}\,$ which is commonly referred to as $\operatorname {Var} (X)=\operatorname {E} [X^{2}]-\left(\operatorname {E} [X]\right)^{2}$
    $\mu _{3}=\mu '_{3}-3\mu \mu '_{2}+2\mu ^{3}\,$
    $\mu _{4}=\mu '_{4}-4\mu \mu '_{3}+6\mu ^{2}\mu '_{2}-3\mu ^{4}.\,$
... and so on, following Pascal's triangle, i.e.
    $\mu _{5}=\mu '_{5}-5\mu \mu '_{4}+10\mu ^{2}\mu '_{3}-10\mu ^{3}\mu '_{2}+4\mu ^{5}.\,$
because $5\mu ^{4}\mu '_{1}-\mu ^{5}\mu '_{0}=5\mu ^{4}\mu -\mu ^{5}=5\mu ^{5}-\mu ^{5}=4\mu ^{5}$
The following sum is a stochastic variable having a compound distribution
    $W=\sum _{i=1}^{M}Y_{i},$
where the $Y_{i}$ are mutually independent random variables sharing the same common distribution and $M$ a random integer variable independent of the $Y_{k}$ with its own distribution. The moments of $W$ are obtained as
    $\operatorname {E} [W^{n}]=\sum _{i=0}^{n}\operatorname {E} \left[{M \choose i}\right]\sum _{j=0}^{i}{i \choose j}(-1)^{i-j}\operatorname {E} \left[\left(\sum _{k=1}^{j}Y_{k}\right)^{n}\right],$
where $\operatorname {E} \left[\left(\sum _{k=1}^{j}Y_{k}\right)^{n}\right]$ is defined as zero for $j=0$.

### Symmetric distributions

In distributions that are symmetric about their means (unaffected by being reflected about the mean), all odd central moments equal zero whenever they exist, because in the formula for the nth moment, each term involving a value of X less than the mean by a certain amount exactly cancels out the term involving a value of X greater than the mean by the same amount.

## Multivariate moments

For a continuous bivariate probability distribution with probability density function f(x,y) the (j,k) moment about the mean μ = (μ$_X$, μ$_Y$) is
    $\mu _{j,k}=\operatorname {E} \left[(X-\operatorname {E} [X])^{j}(Y-\operatorname {E} [Y])^{k}\right]=\int _{-\infty }^{+\infty }\int _{-\infty }^{+\infty }(x-\mu _{X})^{j}(y-\mu _{Y})^{k}f(x,y)\,dx\,dy.$

## Central moment of complex random variables

The nth central moment for a complex random variable X is defined as
$\alpha _{n}=\operatorname {E} \left[(X-\operatorname {E} [X])^{n}\right],$
The absolute nth central moment of X is defined as
$\beta _{n}=\operatorname {E} \left[|(X-\operatorname {E} [X])|^{n}\right].$
The 2nd-order central moment β$_2$ is called the variance of X whereas the 2nd-order central moment α$_2$ is the pseudo-variance of X.