SortedArrayStatisticsOrderStatistic(Double, Int32) Method |
Returns the order statistic (order 1..N) from the sorted data array (ascending).
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double OrderStatistic(
double[] data,
int order
)
Parameters
- data Double
- Sample array, must be sorted ascendingly.
- order Int32
- One-based order of the statistic, must be between 1 and N (inclusive).
Return Value
DoubleThe requested order statistic, or NaN if
order is out of range.
See Also