Skip to content
FutureBlitz

    Install

    Import std.math.stats

    Percentile

    std.math.stats

    function

    @PanicsAtCaller Public Function Percentile<T: Bounded>(values: T[], percent: Double): Double

    The value below which percent of them lie, from 0 for the least to 100 for the largest, between the two nearest when it falls between them, as NumPy's percentile does: 50 is the Median. No values, a NaN, or a percent outside 0 to 100, panics.

    std/math/stats.fb, line 138

    Report an issue with this page or with FutureBlitz on GitHub.