Collective2 Explorer
Collective2 Explorer
MathNet.Numerics Namespaces
MathNet.Numerics.Statistics
Correlation Class
Correlation Methods
Pearson Method
PearsonMatrix Method
Spearman Method
SpearmanMatrix Method
WeightedPearson Method
Correlation
Spearman Method
Computes the Spearman Ranked Correlation coefficient.
Namespace:
MathNet.Numerics.Statistics
Assembly:
MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
Copy
public
static
double
Spearman
(
IEnumerable
<
double
>
dataA
,
IEnumerable
<
double
>
dataB
)
Parameters
dataA
Type:
System.Collections.Generic
IEnumerable
Double
Sample data series A.
dataB
Type:
System.Collections.Generic
IEnumerable
Double
Sample data series B.
Return Value
Type:
Double
The Spearman ranked correlation coefficient.
See Also
Reference
Correlation Class
MathNet.Numerics.Statistics Namespace