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 kLaTeXk, a real mLaTeXm and a sample X, computes the kLaTeXk-th moment around mLaTeXm.

statistics.moment.calc.png