Click or drag to resize

NMathFunctionsSpearmans(Double, Double) 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(
	double[] data1,
	double[] data2
)

Parameters

data1  Double
First array.
data2  Double
Second array.

Return Value

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