Click or drag to resize

NMathFunctionsNaNCovariance(IDFColumn, IDFColumn, BiasType) Method

Computes the covariance of two data sets using the specified bias, excluding pairs where either value is missing.

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

Parameters

data1  IDFColumn
The first data set.
data2  IDFColumn
The second data set.
type  BiasType
Biased or unbiased.

Return Value

Double
Covariance.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if the given data has zero non-NaN pairs.
See Also