Binomial Distribution

Top  Previous  Next

Fathom Reference > Fathom Operators, Functions, and Units > Distribution Functions > Binomial Distribution

Think of this distribution in terms of coin flips. You have a certain number of coins, n, and a certain probability of getting heads, p. This distribution deals with the probability of getting x heads. The possibilities are 0 heads, 1 head, 2 heads, …, n heads.

 

Instead of going from 0 to n, you can use the min and max parameters to go from min to max in intervals of (max – min)/n.

A plot of the cumulative distribution function when p = 0.45

binomialCumulative (x,

n, p, min, max)

The binomial cumulative distribution function computes the cumulative probability, Pr(X ≤ x), where X is a random variable having a binomial distribution of n choices and the probability of success equal to p. It returns the probability that in n trials, x or fewer will be successes.  Since it is cumulative, it can return a probability for values between successes, and so it does not need to be rounded

binomialProbability (x,

n, p, min, max)

This probability function computes the probability that X = x, where X is a random variable chosen from the set of possible values. x must be rounded for binomialProbability to work correctly. It returns the the probability of getting x successes in n trials.  The function returns 0 any time x is not an integer because a fraction of a success is impossible.

binomialQuantile (c,

n, p, min, max)

The binomial quantile function computes the value x, such that Pr(X ≤ x) = c.