Gets the Spearman rank correlation coefficent with another NumericalVariable.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function GetRankCorrelation ( _
	variable As NumericalVariable _
) As Double
C#
public double GetRankCorrelation (
	NumericalVariable variable
)
C++
public:
double GetRankCorrelation (
	NumericalVariable^ variable
)

Parameters

variable (Extreme.Statistics.NumericalVariable)
A NumericalVariable.

Return Value

The rank correlation between the two variables.

Exceptions

ExceptionCondition
ArgumentNullExceptionvariable is nullNothingnullptr.
DimensionMismatchException The length of variable does not equal the length of this instance.