Click or drag to resize

NMathFunctionsCentralMoment(IDFColumn, Int32) Method

Calculates the specified central moment about the mean for the the given data.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double CentralMoment(
	IDFColumn data,
	int order
)

Parameters

data  IDFColumn
A column.
order  Int32
A moment (order).

Return Value

Double
The specified central moment.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data is not numeric or has length of zero.
Remarks
The first central moment is equal to zero. The second central moment is the variance. The third central moment is the skewness. The fourth central moment is the kurtosis.
See Also