Skip to main content

NDArray::quantile

ublic static function quantile(NDArray|array|float|int $a, float|int $q): float|int;

Computes the specified quantile of the elements in the array. A quantile represents a particular value below which a given percentage of data falls. For example, the median is the 50th quantile.