| SortedArrayStatisticsQuantileRank Method |
Estimates the quantile tau from the sorted data array (ascending).
The tau-th quantile is the data value where the cumulative distribution
function crosses tau. The quantile definition can be specified to be compatible
with an existing system.
Namespace: MathNet.Numerics.StatisticsAssembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax public static double QuantileRank(
double[] data,
double x,
RankDefinition definition = RankDefinition.Average
)
Parameters
- data
- Type: SystemDouble
The data sample sequence. - x
- Type: SystemDouble
Quantile value. - definition (Optional)
- Type: MathNet.Numerics.StatisticsRankDefinition
Rank definition, to choose how ties should be handled and what product/definition it should be consistent with
Return Value
Type:
DoubleSee Also