Binomial Notes
Binomial Notes
or distribution:
n!
where nCr =
r! n r !
(Note r often used for a random variable in discrete distributions, rather than x). The
Binomial distribution tends to occur when a number of independent trials (e.g. tosses of a
coin) take place, where each trial can only end in ‘success’ or ‘failure’ and the probability of
success does not vary from trial to trial.
0.3
0.25
0.2
0.15
0.1
0.05
0
0 1 2 3 4 5 6 7 8
The Binomial distribution has a mean and variance, just like any empirical distribution. For
the case of two tosses it is easy to calculate1.
In general, E(r) = np for the Binomial distribution, so E(r) = 2 0.5 = 1. For eight tosses, we
expect 8 0.5 = 4 heads.
V(r) = Er²Er²
Exercise – prove this).
1
For instruction on E and V notation, see the appendix at the end of these notes.
Er² P(r) r² = 0.250² + 0.51² + 0.252² = 1.5
In general, V(r) = np(1-p) for the Binomial distribution. V(r) = 2 0.5 0.5 = 0.5.
We can write in shorthand notation that r ~ B(n, p). r is distributed Binomially with n trials
and probability of success p in each trial. n and p are the parameters of the distribution.