| NMathFunctionsNaNCentralMoment(Double, 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(
double[] data,
int order
)
Public Shared Function NaNCentralMoment (
data As Double(),
order As Integer
) As Double
public:
static double NaNCentralMoment(
array<double>^ data,
int order
)
static member NaNCentralMoment :
data : float[] *
order : int -> float
Parameters
- data Double
- An array of doubles.
- 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