R8
data object R8 : QuantileEstimationMethod.Interpolating, QuantileEstimationMethod.Interpolating.PieceWiseLinear
Linear interpolation of the approximate medians for order statistics. Recommended by H & F.
Functions
Link copied to clipboard
internal fun <IndexType : Number> QuantileEstimationMethod<*, IndexType>.indexOfQuantile(p: Double, count: Int): IndexType
Link copied to clipboard
Gives the (1-based) index of the p-quantile for a distribution of size count. If the result h is a whole number, the h'th smallest of the count values is the quantile estimate. If not, h is an estimation of the index of the p-quantile. Rounding or interpolation needs to occur to get the actual quantile estimate.