Quantile function of the binomial distribution. Equivalent to R's qbinom(p, size, prob, lower.tail = TRUE, log.p = FALSE).
qbinom(p, size, 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
Number of trials.
Probability of success on each trial.
lowerTail and logP (see TailOptions).
lowerTail
The quantile(s).
qbinom(0.5, 10, 0.3); // 3qbinom([0.025, 0.975], 10, 0.3); // [0, 6] Copy
qbinom(0.5, 10, 0.3); // 3qbinom([0.025, 0.975], 10, 0.3); // [0, 6]
Quantile function of the binomial distribution. Equivalent to R's
qbinom(p, size, prob, lower.tail = TRUE, log.p = FALSE).