Click or drag to resize

SortedArrayStatisticsQuantile(Single, Double) 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. Approximately median-unbiased regardless of the sample distribution (R8).

Namespace: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static float Quantile(
	float[] data,
	double tau
)

Parameters

data  Single
Sample array, must be sorted ascendingly.
tau  Double
Quantile selector, between 0.0 and 1.0 (inclusive).

Return Value

Single

[Missing <returns> documentation for "M:Altaxo.Calc.Statistics.SortedArrayStatistics.Quantile(System.Single[],System.Double)"]

Remarks
R-8, SciPy-(1/3,1/3): Linear interpolation of the approximate medians for order statistics. When tau < (2/3) / (N + 1/3), use x1. When tau >= (N - 1/3) / (N + 1/3), use xN.
See Also