Skip to content

Statistics · Ch 6 — Random Variable and Discrete Probability Distribution

Binomial Distribution

5

Binomial Distribution

Many real situations consist of a fixed number of independent, identical trials, each of which ends in only one of two outcomes — usually called "success" and "failure" — with the same probability of success on every trial. Such a single trial is called a Bernoulli trial. Examples: tossing a coin a fixed number of times (success = head); inspecting a fixed sample of items from a production line (success = defective item); a fixed number of shots at a target (success = hit).

A discrete random variable XX = number of successes in nn independent Bernoulli trials, each with probability of success pp (and probability of failure q=1−pq = 1 - p), is said to follow a Binomial distribution, written X∼B(n,p)X \sim B(n, p), provided:

  1. The number of trials nn is fixed in advance.
  2. Each trial is independent of the others.
  3. Each trial results in exactly two possible outcomes (success/failure).
  4. The probability of success pp is constant across all trials.

Under these conditions, the probability of getting exactly rr successes in the nn trials is given by the binomial probability mass function:

P(X=r)=(nr) pr q n−r,r=0,1,2,…,nP(X = r) = \binom{n}{r}\, p^{r}\, q^{\,n-r}, \qquad r = 0, 1, 2, \ldots, n

where (nr)=n!r! (n−r)!\binom{n}{r} = \dfrac{n!}{r!\,(n-r)!} is the number of ways of choosing which rr of the nn trials are the successes.

Mean and variance of the Binomial distribution (stated results, derived from E(X)=∑r p(r)E(X) = \sum r\,p(r)):

E(X)=np,Var(X)=npq,SD(X)=npqE(X) = np, \qquad Var(X) = npq, \qquad SD(X) = \sqrt{npq} …

Definition 1Bernoulli Trial

A single trial of a random experiment with exactly two possible outcomes, success (probability pp) and failure ( …