| NMathFunctionsNaNCentralMoment(DoubleVector, Int32) Method |
Calculates the specified central moment about the mean for the
the given data, excluding NaN values.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double NaNCentralMoment(
DoubleVector data,
int order
)
Public Shared Function NaNCentralMoment (
data As DoubleVector,
order As Integer
) As Double
public:
static double NaNCentralMoment(
DoubleVector^ data,
int order
)
static member NaNCentralMoment :
data : DoubleVector *
order : int -> float
Parameters
- data DoubleVector
- A vector.
- order Int32
- A moment (order).
Return Value
DoubleThe specified central moment.
Exceptions 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