Click or drag to resize

StatisticsPercentile(IEnumerableDouble, 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 double Percentile(
	this IEnumerable<double> data,
	int p
)

Parameters

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

Return Value

Double

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableDouble. 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