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