Click or drag to resize

NMathFunctionsSpearmans(DoubleVector, DoubleVector) Method

Calculates Spearman's Rho for the given data sets.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Spearmans(
	DoubleVector data1,
	DoubleVector data2
)

Parameters

data1  DoubleVector
First vector.
data2  DoubleVector
Second vector.

Return Value

Double
Spearman's Rho.
Remarks
Equivalent to the Pearson correlation using ranks.
See Also