.FloatArrayStat.Quantile (gb.gsl)

Function Quantile ( Quantile As Float [ , Sorted As Boolean ] ) As Float

This function returns a quantile value of the current data array. The elements of the array must be in ascending numerical order.

  • Quantile is a fraction between 0 and 1. For example, to compute the value of the 75th percentile f should have the value 0.75.

  • Sorted tells if the data is already sorted. If FALSE, then an internal sorted copy of the current array will be done.

See also