Gets the specified quantile.
Namespace: Extreme.StatisticsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public static T Quantile<T>(
Vector<T> values,
double quantile
)
Public Shared Function Quantile(Of T) (
values As Vector(Of T),
quantile As Double
) As T
public:
generic<typename T>
static T Quantile(
Vector<T>^ values,
double quantile
)
static member Quantile :
values : Vector<'T> *
quantile : float -> 'T
Parameters
- values
- Type: Extreme.MathematicsVectorT
A VectorT. - quantile
- Type: SystemDouble
A value between 0 and 100, inclusive.
Type Parameters
- T
Return Value
Type:
T
The quantile corresponding to the quantileage specified by
quantile.
If the quantile falls between two observations, it is interpolated between the adjacent observations.
Numerical Libraries
Supported in: 6.0
Reference