Click or drag to resize

NMathFunctionsNaNCorrelation(IDFColumn, IDFColumn) Method

Computes the Pearson correlation of two data sets, excluding pairs where either value is missing.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double NaNCorrelation(
	IDFColumn data1,
	IDFColumn data2
)

Parameters

data1  IDFColumn
The first data set.
data2  IDFColumn
The second set set.

Return Value

Double
Correlation.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the given data has zero or one non-NaN pair.
See Also