quantile
Returns the quantile (inverse CDF) for the given probability p.
The quantile function returns the smallest value x such that cdf(x) >= p. It is the inverse of the cumulative distribution function.
Return
the value x at which cdf(x) = p.
Parameters
p
the cumulative probability, must be in [0, 1].
Throws
if p is not in [0, 1].