quantile

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

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

The quantile is computed as the log-odds of p, scaled and shifted by the distribution parameters. 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].