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.
This is accomplished using the inverse beta integral
function and the relation
1 - p = betaDistributionInv( n-k, k+1, y ).
The arguments must be positive, with 0 <= y <= 1, and k <= n.
Inverse binomial distribution
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.
This is accomplished using the inverse beta integral function and the relation
1 - p = betaDistributionInv( n-k, k+1, y ).
The arguments must be positive, with 0 <= y <= 1, and k <= n.