Click or drag to resize

StatisticsPercentile(IEnumerableSingle, Int32) Method

Estimates the p-Percentile value from the provided samples. If a non-integer Percentile is needed, use Quantile instead. 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 Percentile(
	this IEnumerable<float> data,
	int p
)

Parameters

data  IEnumerableSingle
The data sample sequence.
p  Int32
Percentile selector, between 0 and 100 (inclusive).

Return Value

Single

[Missing <returns> documentation for "M:Altaxo.Calc.Statistics.Statistics.Percentile(System.Collections.Generic.IEnumerable{System.Single},System.Int32)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableSingle. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also