Binomial distribution

The binomial distribution counts successes in independent trials, each with success probability . It is the backbone of coin flips, A/B tests, quality control, and opinion polls.

00.050.10.150.202468101214161820k successesprobability
Dark bars: PMF . Light bars: empirical frequencies from 1000 draws. Dashed: Normal() approximation.

What to notice

  • Symmetric at p = 0.5. The distribution is perfectly bell-shaped whenever p = 0.5. Slide p away from centre and the distribution skews toward the favoured outcome.
  • The Normal approximation (dashed curve) kicks in when both and exceed about 5. The mean is , the standard deviation .
  • Raising n stretches the distribution and sharpens the Normal fit — the Central Limit Theorem guarantees this convergence. Try n = 50 with any p.

Relationship to Bernoulli

A single Bernoulli trial is Binomial(1, p). The binomial is the sum of n independent Bernoullis — which is exactly why the CLT applies.