Skip to content

Mathematics and Statistics · Ch 16 — Probability Distributions

Binomial Distribution

5

Binomial Distribution

Many experiments consist of repeating the same trial a fixed number of times, where each trial has only two possible results — conventionally "success" and "failure". The count of successes then follows the binomial distribution, the most important discrete distribution in the syllabus.

Note

Bernoulli trials

A sequence of trials is a set of Bernoulli trials if: (i) there is a fixed number nn of trials; (ii) each trial has exactly two outcomes, success (prob. pp) or failure (prob. q=1−pq = 1-p); (iii) pp is the same in every trial; and (iv) the trials are independent.

Let XX = number of successes in nn such trials. Then XX can be 0,1,2,…,n0, 1, 2, \ldots, n, and it is said to follow a binomial distribution, written X∼B(n,p)X \sim B(n, p).

Note

Binomial probability formula

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

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

The formula splits into three honest pieces: (nr)\binom{n}{r} (how many arrangements give exactly rr successes), prp^{r} (the rr successes), and q n−rq^{\,n-r} (the remaining n−rn-r failures). Because the terms (nr)prqn−r\binom{n}{r}p^r q^{n-r} are exactly the terms of the expansion of (q+p)n(q + p)^n, the probabilities add to (q+p)n=1n=1(q+p)^n = 1^n = 1, as they must.

Note

Mean and variance of the binomial distribution

Mean=E(X)=np,Var⁡(X)=npq,σ=npq.\text{Mean} = E(X) = np, \qquad \operatorname{Var}(X) = npq, \qquad \sigma = \sqrt{npq}. …

Definition 10Bernoulli trials

A fixed number nn of independent trials, each with two outcomes (success prob. pp, failure q=1−pq=1-p) and the …

Definition 11Binomial distribution $B(n,p)$

Distribution of the number of successes XX in nn Bernoulli trials: P(X=r)=(nr)prqn−rP(X=r)=\binom{n}{r}p^r q^{n-r}, with mean $np …