Kde1d.quantile

Kde1d.quantile(self, x: numpy.ndarray[dtype=float64, shape=(*), order='C'], check_fitted: bool = True) numpy.ndarray[dtype=float64, shape=(*), order='C']

Evaluate the quantile function.

Computes quantiles of the kernel density estimate by numerical inversion of the cumulative distribution function.

Parameters:
  • x (array_like) – Vector of probabilities (between 0 and 1).

  • check_fitted (bool, optional) – Whether to check if the model is fitted before evaluation. Default is True.

Returns:

array_like – Vector of quantiles corresponding to the input probabilities.