invBinomial

Syntax

invBinomial(trials, p, X)

Arguments

trials is a positive integer.

p is a floating number between 0 and 1.

trials and p are shape parameters.

X is a floating scalar or vector between 0 and 1.

Details

Return the value of a binomial inverse cumulative distribution function.

Examples

invBinomial(10, 0.1, [0.1, 0.5, 0.9]);
// output
[0, 1, 2]

invBinomial(12,0.627, [0.1, 0.3, 0.5, 0.7, 0.9]);
// output
[5, 7, 8, 8, 10]