Lably
Skip to content

De Moivre–Laplace theorem

Convergence in distribution of binomial to normal distribution

  • 3 min read
  • 1 chapter

Related on Lably

Through Central limit theorem, Normal distribution and Binomial distribution

The theorem appeared in the second edition of The Doctrine of Chances by Abraham de Moivre, published in 1738. Although de Moivre did not use the term "Bernoulli trials", he wrote about the probability distribution of the number of times "heads" appears when a coin is tossed 3600 times. This is the first derivation of the particular Gaussian function used in the normal distribution.

It is a special case of the central limit theorem because a Bernoulli process can be thought of as the drawing of independent random variables from a bimodal discrete distribution with non-zero probability only for values 0 and 1. In this case, the binomial distribution models the number of successes (i.e., the number of 1s), whereas the central limit theorem states that, given sufficiently large n, the distribution of the sample means will be approximately normal. However, because in this case the fraction of successes (i.e., the number of 1s divided by the number of trials, n) is equal to the sample mean, the distribution of the fractions of successes (described by the binomial distribution divided by the constant n) and the distribution of the sample means (approximately normal with large n due to the central limit theorem) are equivalent. Pierre-Simon Laplace published the more general result in 1812 in his influential book Théorie analytique des probabilités.

Theorem

As n grows large, for k in the neighborhood of np we can approximate

(nk)pkqn−k≃12πnpqe−(k−np)22npq,p+q=1,p,q>0

in the sense that the ratio of the left-hand side to the right-hand side converges to 1 as n → ∞. Convergence in density implies convergence in distribution, that is, for the cumulative distribution function.

Proof

The theorem can be more rigorously stated as follows: (X−np)/npq, with X a binomially distributed random variable, approaches the standard normal as n→∞, with the ratio of the probability mass of X to the limiting normal density being 1. This can be shown for an arbitrary nonzero and finite point c. On the unscaled curve for X, this would be a point k given by

k=np−cnpq

For example, with c at 3, k stays 3 standard deviations below the mean in the unscaled curve.

The normal distribution with mean μ and standard deviation σ is defined by the differential equation (DE)

f′(x)=−x−μσ2f(x) with an initial condition set by the probability axiom ∫−∞∞f(x)dx=1.

The binomial distribution limit approaches the normal if the binomial satisfies this DE. As the binomial is discrete the equation starts as a difference equation whose limit morphs to a DE. Difference equations use the discrete derivative, p(k+1)−p(k), the change for step size 1. As k→∞, the discrete derivative becomes the continuous derivative. Hence the proof need show only that, for the unscaled binomial distribution,

p(n,k+1)−p(n,k)p(n,k)⋅(−σ2k−μ)→1 as n→∞,

where p(n,k)=(nk)pkqn−k, μ=np, and σ=npq.

The required result can be shown directly:

p(n,k+1)−p(n,k)p(n,k)npqnp−k=np−k−qkq+qnpqc=cnpq−qnpq−cqnpq+qnpqc→1

The last holds because the term cnpq dominates both the denominator and the numerator as n→∞.

As k takes just integral values, the constant c is subject to a rounding error. However, the maximum of this error, 0.5/npq, is a vanishing value.

Alternate proof

The proof consists of transforming the left-hand side (in the statement of the theorem) to the right-hand side by three approximations.

First, according to Stirling's formula, the factorial of a large number n can be replaced with the approximation

n!≃nne−n2πnas n→∞.

Thus

(nk)pkqn−k=n!k!(n−k)!pkqn−k≃nne−n2πnkke−k2πk(n−k)n−ke−(n−k)2π(n−k)pkqn−k=n2πk(n−k)nnkk(n−k)n−kpkqn−k=n2πk(n−k)(npk)k(nqn−k)n−k

Next, the approximation kn→p is used to match the square root above to the desired square root on the right-hand side.

(nk)pkqn−k≃12πnkn(1−kn)(npk)k(nqn−k)n−k≃12πnpq(npk)k(nqn−k)n−kp+q=1

Finally, the expression is rewritten as an exponential, x=k−npnpq (the standardized value for k) is introduced, and the Taylor Series approximation for ln(1+w) is used:

ln⁡(1+w)≃w−w22+w33−⋯

Then

(nk)pkqn−k≃12πnpqexp⁡{ln⁡((npk)k)+ln⁡((nqn−k)n−k)}=12πnpqexp⁡{−kln⁡(knp)+(k−n)ln⁡(n−knq)}=12πnpqexp⁡{−kln⁡(np+xnpqnp)+(k−n)ln⁡(n−np−xnpqnq)}=12πnpqexp⁡{−kln⁡(1+xqnp)+(k−n)ln⁡(1−xpnq)}p+q=1=12πnpqexp⁡{−k(xqnp−x2q2np+⋯)+(k−n)(−xpnq−x2p2nq−⋯)}=12πnpqexp⁡{(−np−xnpq)(xqnp−x2q2np+⋯)+(np+xnpq−n)(−xpnq−x2p2nq−⋯)}=12πnpqexp⁡{(−np−xnpq)(xqnp−x2q2np+⋯)−(nq−xnpq)(−xpnq−x2p2nq−⋯)}=12πnpqexp⁡{(−xnpq+12x2q−x2q+⋯)+(xnpq+12x2p−x2p−⋯)}=12πnpqexp⁡{−12x2q−12x2p−⋯}=12πnpqexp⁡{−12x2(p+q)−⋯}≃12πnpqexp⁡{−12x2}=12πnpqe−(k−np)22npq

Each "≃" in the above argument is a statement that two quantities are asymptotically equivalent as n increases, in the same sense as in the original statement of the theorem—i.e., that the ratio of each pair of quantities approaches 1 as n → ∞.

More in Statistics