Click or drag to resize

NMathFunctionsNaNMean(IDFColumn) Method

Calculates the arithmetic mean of the given data, excluding missing values.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double NaNMean(
	IDFColumn data
)

Parameters

data  IDFColumn
A column.

Return Value

Double
Mean.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data is not numeric or has a length of zero.
Remarks
mean = (data[0] + data[1] + ...) / data.Count
See Also