Skip to content

binom_inv

Inverse binomial CDF (smallest k with CDF ≥ alpha).

v = binom_inv(trials, probability_s, alpha)

Returns the smallest integer k such that binom_dist(k, trials, p, true) ≥ alpha — the critical value for a one-sided binomial test.

binom_inv(10, 0.5, 0.95) % 8
  • binom_dist — Binomial-distribution PDF or CDF.