Central moment

Computes the k-th central moment of a data sample

mk=1ni=1nxi-x¯k

where x¯ is the mean of our sample and n is the size of the data.

Syntax

central_moment(Integer, Statistics_data)

Description

Given an integer k and a data sample X, computes the k-th central moment of X.

statistics.central_moment.calc.png