Central moment (source code)

= Central moment
{title2=$\mathbb E[(X-\mathbb EX)^n]$}
{wiki}

The $n$th central moment is $\mathbb E[(X-\mathbb EX)^n]$. The first central moment is zero and the second is the <variance>.