Click or drag to resize

StatisticsQuantile(IReadOnlyListDouble, Double, Int32, Int32, Boolean) Method

The quantile value of x.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double Quantile(
	this IReadOnlyList<double> x,
	double f,
	int n,
	int stride,
	bool checkArray
)

Parameters

x  IReadOnlyListDouble
Sorted array (in ascending order) of data. No check is made whether the array is sorted or contains missing data (NaNs).
f  Double
The quantile [0,1].
n  Int32
Number of values to test. Normally set to x.Length.
stride  Int32
Stride. Normally set to 1.
checkArray  Boolean
If true, checks the array for missing values and whether the array is sorted. An exception is thrown if the array contains missing values or is not sorted.

Return Value

Double
The quantile value of the array of data.

Usage Note

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