quantileInt

open override fun quantileInt(p: Double): Int(source)

Returns the quantile (inverse CDF) for the given probability p as an Int.

Return

the smallest integer k in the support at which cdf(k) >= p.

Parameters

p

the cumulative probability, must be in [0, 1].