SortedArrayStatisticsQuantileCustom(Double, Double, QuantileDefinition) Method |
Estimates the tau-th quantile 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: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double QuantileCustom(
double[] data,
double tau,
QuantileDefinition definition
)
Parameters
- data Double
- Sample array, must be sorted ascendingly.
- tau Double
- Quantile selector, between 0.0 and 1.0 (inclusive).
- definition QuantileDefinition
- Quantile definition, to choose what product/definition it should be consistent with
Return Value
DoubleThe estimated quantile value, or
NaN when the input is invalid.
See Also