You are viewing an older version (2.4.3). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / lib / _function_base_impl / _compute_virtual_index

function

numpy.lib._function_base_impl:_compute_virtual_index

source: /numpy/lib/_function_base_impl.py :4533

Signature

def   _compute_virtual_index ( n quantiles alpha : float beta : float )

Summary

Compute the floating point indexes of an array for the linear interpolation of quantiles. n : array_like The sample sizes. quantiles : array_like The quantiles values. alpha : float A constant used to correct the index computed. beta : float A constant used to correct the index computed.

Extended Summary

alpha and beta values depend on the chosen method (see quantile documentation)

Reference: Hyndman&Fan paper "Sample Quantiles in Statistical Packages", DOI: 10.1080/00031305.1996.10473566

Aliases

  • numpy.lib._function_base_impl._compute_virtual_index