The Binomial Random Variable and Distribution

binomial random variable X

Given a Binomial Experiment consisting of n trials, the binomial random variable X associated with this experiment is defined as:

X=the number of successes among the n trials

Suppose for example n=3. Then there are 8 possible outcomes of the experiment:

S={SSS,SSF,SFS,SFF,FSS,FSF,FFS,FFF}
XBin(n,p)

We write XBin(n,p) to indicate that X is a binomial Random Variables based on n trials with success probability p. because the Probability Distribution, PMF of a binomial rv X depends on the two parameters n,p, we denote the binomial pmf by b(x;n,p).

Binomial rv probability

b(x;n,p)=(nx)px(1p)nx:x=0,1,2,...,n

Computing Binomial Probabilities

Notation

For XBin(n,p) the cdf will be denoted by:

B(x;n,p)=P(Xx)=y=0xb(y;n,p):x=0,1,2,...,n

The idea is simple, that just:

P(Xx)=P(X=0)++P(X=x)

So we just replace each P with the appropriate b(y;n,p) expansion.

The Mean, Variance, and Moment Generating Function

Proposition

If XBin(n,p) then E(X)=np, Var(X)=np(1p) and σ is just np(1p).