Skip to main content

Binomial distribution


Binomial Distribution

Probability Mass FunctionThe binomial distribution is used when there are exactly two mutually exclusive outcomes of a trial. These outcomes are appropriately labeled "success" and "failure". The binomial distribution is used to obtain the probability of observing x successes in N trials, with the probability of success on a single trial denoted by p. The binomial distribution assumes that p is fixed for all trials.The formula for the binomial probability mass function is
P(x,p,n) = (n x)*(p**x)*(1-p)**(n-x) for x = 0, 1, 2, ..., n
where
(n x) = n!/(x!(n-x)!
The following is the plot of the binomial probability density function for four values of p and n = 100.
plot of the binomial probability density function
Cumulative Distribution FunctionThe formula for the binomial cumulative probability function isF(x,p,n) = SUM[(n i)*(p**i)*(1-p)**(n-i)
   where the summation is over i from 0 to x
The following is the plot of the binomial cumulative distribution function with the same values of p as the pdf plots above.
plot of the binomial cumulative distribution function
Percent Point FunctionThe binomial percent point function does not exist in simple closed form. It is computed numerically. Note that because this is a discrete distribution that is only defined for integer values of x, the percent point function is not smooth in the way the percent point function typically is for a continuous distribution.The following is the plot of the binomial percent point function with the same values of p as the pdf plots above.
plot of the binomial percent point function
Common Statistics
Meann*p
Modep*(n+1) - 1 <= x <= p*(n+1)
Range0 to N
Standard DeviationSQRT(n*p*(1-p))
Coefficient of VariationSQRT((1-p)/(n*p))
Skewness(1-2*p)/SQRT(n*p*(1-p))
Kurtosis3 - 6/n + 1/(n*p*(1-p))
CommentsThe binomial distribution is probably the most commonly used discrete distribution.
Parameter EstimationThe maximum likelihood estimator of p (n is fixed) isptilde = x/n
SoftwareMost general purpose statistical software programs support at least some of the probability functions for the binomial distribution.

Comments

Popular posts from this blog

Weibull distribution

Weibull Distribution Probability Density Function The formula for the  probability density function  of the general Weibull distribution is where   is the  shape parameter ,   is the  location parameter  and   is the scale parameter . The case where   = 0 and   = 1 is called the  standard Weibull distribution . The case where   = 0 is called the 2-parameter Weibull distribution. The equation for the standard Weibull distribution reduces to Since the general form of probability functions can be  expressed in terms of the standard distribution , all subsequent formulas in this section are given for the standard form of the function. The following is the plot of the Weibull probability density function. Cumulative Distribution Function The formula for the  cumulative distribution function  of the Weibull distribution is The following is the plot of the Weibull cumulative ...

Double exponential distribution

Double Exponential Distribution Probability Density Function The general formula for the  probability density function  of the double exponential distribution is where   is the  location parameter  and   is the  scale parameter . The case where   = 0 and   = 1 is called the  standard double exponential distribution . The equation for the standard double exponential distribution is Since the general form of probability functions can be  expressed in terms of the standard distribution , all subsequent formulas in this section are given for the standard form of the function. The following is the plot of the double exponential probability density function. Cumulative Distribution Function The formula for the  cumulative distribution function  of the double exponential distribution is The following is the plot of the double exponential cumulative distribution function. Percent Point Function...

Lognormal distribution

Lognormal Distribution Probability Density Function A variable X is lognormally distributed if Y = LN(X) is normally distributed with "LN" denoting the natural logarithm. The general formula for the  probability density function  of the lognormal distribution is where   is the  shape parameter ,   is the  location parameter  and  m is the  scale parameter . The case where   = 0 and  m  = 1 is called the  standard lognormal distribution . The case where   equals zero is called the 2-parameter lognormal distribution. The equation for the standard lognormal distribution is Since the general form of probability functions can be  expressed in terms of the standard distribution , all subsequent formulas in this section are given for the standard form of the function. The following is the plot of the lognormal probability density function for four values of  . There are several commo...