| NMathFunctionsSpearmans(Int32, Int32) 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(
int[] data1,
int[] data2
)
Public Shared Function Spearmans (
data1 As Integer(),
data2 As Integer()
) As Double
public:
static double Spearmans(
array<int>^ data1,
array<int>^ data2
)
static member Spearmans :
data1 : int[] *
data2 : int[] -> float
Parameters
- data1 Int32
- First array.
- data2 Int32
- Second array.
Return Value
DoubleSpearman's Rho.
Remarks Equivalent to the Pearson correlation using ranks.
See Also