Returns the ranks of the observations.
Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static double[] Ranks(
double[] values
)
Public Shared Function Ranks (
values As Double()
) As Double()
public:
static array<double>^ Ranks(
array<double>^ values
)
static member Ranks :
values : float[] -> float[]
Parameters
- values
- Type: SystemDouble
A Double array.
Return Value
Type:
DoubleA
Double array containing the ranks of each observation.
The smallest observation has rank 1.
If several observations have the same value, then the average
of the ranks is used. The rank for missing values is NaN.
Numerical Libraries
Supported in: 6.0, 5.x, 4.x
Reference