quantile

open override fun quantile(p: Double): Double(source)

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

The quantile is computed as mu - beta * ln(-ln(p)). Returns negative infinity for p = 0 and positive infinity for p = 1.

Return

the value x at which cdf(x) = p.

Parameters

p

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