Skip to main content

Moment

Computes the k-th moment around a value m of a data sample X={x1,...,xn}

1ni=1n(xi-m)k

Syntax

moment(Integer, Real, Statistics_data)

Description

Given an integer kk, a real mm and a sample X, computes the kk-th moment around mm.

statistics.moment.calc.png