| NMathFunctionsNaNCorrelation(Int32, Double) 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(
int[] data1,
double[] data2
)
Public Shared Function NaNCorrelation (
data1 As Integer(),
data2 As Double()
) As Double
public:
static double NaNCorrelation(
array<int>^ data1,
array<double>^ data2
)
static member NaNCorrelation :
data1 : int[] *
data2 : float[] -> float
Parameters
- data1 Int32
- The first data set.
- data2 Double
- The second set set.
Return Value
DoubleCorrelation.
Exceptions See Also