| NMathFunctionsNaNCorrelation(Double, Int32) Method |
Computes the Pearson correlation of two data sets, excluding pairs where either
value is missing.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double NaNCorrelation(
double[] data1,
int[] data2
)
Public Shared Function NaNCorrelation (
data1 As Double(),
data2 As Integer()
) As Double
public:
static double NaNCorrelation(
array<double>^ data1,
array<int>^ data2
)
static member NaNCorrelation :
data1 : float[] *
data2 : int[] -> float
Parameters
- data1 Double
- The first data set.
- data2 Int32
- The second set set.
Return Value
DoubleCorrelation.
Exceptions See Also