Distribution function of the binomial distribution. Equivalent to R's pbinom(q, size, prob, lower.tail = TRUE, log.p = FALSE).
pbinom(q, size, prob, lower.tail = TRUE, log.p = FALSE)
Quantile(s): a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
Number of trials.
Probability of success on each trial.
lowerTail and logP (see TailOptions).
lowerTail
logP
The probability (or log probability).
pbinom(3, 10, 0.5); // 0.171875pbinom([3, 5], 10, 0.5); // [0.171875, 0.623046875] Copy
pbinom(3, 10, 0.5); // 0.171875pbinom([3, 5], 10, 0.5); // [0.171875, 0.623046875]
Distribution function of the binomial distribution. Equivalent to R's
pbinom(q, size, prob, lower.tail = TRUE, log.p = FALSE).