bdtri(k, n, y) = <ufunc 'bdtri'>¶
Inverse function to
bdtrwith respect to p.
Finds the event probability p such that the sum of the terms 0 through k of the binomial probability density is equal to the given cumulative probability y.
Number of successes (float), rounded down to the nearest integer.
Number of events (float)
Cumulative probability (probability of k or fewer successes in n events).
The event probability such that bdtr(lfloor k rfloor, n, p) = y.
The computation is carried out using the inverse beta integral function and the relation,:
1 - p = betaincinv(n - k, k + 1, y).