Click or drag to resize
CorrelationSpearman Method
Computes the Spearman Ranked Correlation coefficient.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double Spearman(
	IEnumerable<double> dataA,
	IEnumerable<double> dataB
)

Parameters

dataA
Type: System.Collections.GenericIEnumerableDouble
Sample data series A.
dataB
Type: System.Collections.GenericIEnumerableDouble
Sample data series B.

Return Value

Type: Double
The Spearman ranked correlation coefficient.
See Also