| NMathFunctionsSpearmans(DoubleVector, DoubleVector) Method |
Calculates Spearman's Rho for the given data sets.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double Spearmans(
DoubleVector data1,
DoubleVector data2
)
Public Shared Function Spearmans (
data1 As DoubleVector,
data2 As DoubleVector
) As Double
public:
static double Spearmans(
DoubleVector^ data1,
DoubleVector^ data2
)
static member Spearmans :
data1 : DoubleVector *
data2 : DoubleVector -> float
Parameters
- data1 DoubleVector
- First vector.
- data2 DoubleVector
- Second vector.
Return Value
DoubleSpearman's Rho.
Remarks Equivalent to the Pearson correlation using ranks.
See Also