Click or drag to resize

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

Parameters

data1  Int32
First array.
data2  Int32
Second array.

Return Value

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