Statistics Toolbox
  Go to function:
    Search    Help Desk 
binoinv    Examples

Inverse of the binomial cumulative distribution function (cdf).

Syntax

Description

binoinv(Y,N,P) returns the smallest integer X such that the binomial cdf evaluated at X is equal to or exceeds Y. You can think of Y as the probability of observing X successes in N independent trials where P is the probability of success in each trial.

The parameter n must be a positive integer and both P and Y must lie on the interval [0 1]. Each X is a positive integer less than or equal to N.

Examples

If a baseball team has a 50-50 chance of winning any game, what is a reasonable range of games this team might win over a season of 162 games? We assume that a surprising result is one that occurs by chance once in a decade.

This result means that in 90% of baseball seasons, a .500 team should win between 71 and 91 games.



[ Previous | Help Desk | Next ]