Calculates the percentile in which a given value would fall, if
it were in the given data set.
Namespace:
CenterSpace.NMath.StatsAssembly: NMathStats (in NMathStats.dll) Version: 3.4.0.0
Syntax
| C# |
|---|
public static double PercentileRank( int[] data, double val ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function PercentileRank ( _ data As Integer(), _ val As Double _ ) As Double |
| Visual C++ |
|---|
public: static double PercentileRank( array<int>^ data, double val ) |
Parameters
- data
- Type: array<
System..::.Int32
>[]()[]
An array of integers.
- val
- Type: System..::.Double
A value.