SortedArrayStatisticsOrderStatistic(Single, 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 float OrderStatistic(
float[] data,
int order
)
Parameters
- data Single
- Sample array, must be sorted ascendingly.
- order Int32
- One-based order of the statistic, must be between 1 and N (inclusive).
Return Value
SingleThe order-th smallest value, or NaN if order is out of range.
See Also