Quantile function of the geometric distribution (number of failures before the first success). Equivalent to R's qgeom(p, prob, lower.tail = TRUE, log.p = FALSE).
qgeom(p, prob, lower.tail = TRUE, log.p = FALSE)
Probability (or log probability with logP): a number, number[] or Float64Array. The result has the same shape.
logP
number[]
Float64Array
Probability of success on each trial.
lowerTail and logP (see TailOptions).
lowerTail
The quantile(s).
qgeom(0.5, 0.3); // 1qgeom([0.1, 0.9], 0.3); // [0, 6] Copy
qgeom(0.5, 0.3); // 1qgeom([0.1, 0.9], 0.3); // [0, 6]
Quantile function of the geometric distribution (number of failures before the first success). Equivalent to R's
qgeom(p, prob, lower.tail = TRUE, log.p = FALSE).