binomial distribution

A binomial random variable is a discrete random variable counting the number of "success" outcomes in a binomial experiment. Such a random variable follows a binomial distribution, denoted XBinom(n,p), where nN is the number of trials and p[0,1] is the probability of success in each one.

Formally,
if X is a binomial random variable, i.e. XBinom(n,p), then the probability of k successes is given by the probability mass function

b(k;n,p)=P(X=k)=(nk)pk(1p)nk

and its cumulative distribution function is

B(k;n,p)=P(Xk)=i=0k(ni)pi(1p)ni

where (nk) is the binomial coefficient, defined such that (nk)=0 for k[0,n].


If XBinom(n,p), then


Powered by Forestry.md