The story
Flip the same biased coin times and count the heads. Each flip is a trial, the flips do not influence one another, and the total can be anything from 0 to . The probability of exactly successes is : the chance of one particular arrangement, multiplied by the number of ways to arrange successes among slots.
On average you get successes, with variance . When the distribution is perfectly symmetric; push towards 0 or 1 and it leans against the nearest wall. As grows the bars settle into a familiar bell shape, which is why the Normal approximation works so well for large .
Formulas
Support
PMF
CDF
Expectation
Variance
Mode
Parameters
| Parameter | What it controls |
|---|---|
| The number of independent trials; can take any whole value from 0 to . | |
| The probability of success on each trial. It sets the centre () and, together with , the spread . |
Where it shows up
- The number of heads in 20 coin tosses.
- How many of 50 surveyed people say they will vote for a given party.
- The number of defective items in a batch of 30, if each is faulty independently with probability .
- How many of emails in an A/B test are opened.
Try this
- Set and , then slowly lower to 0.05. Watch the symmetric bell become a right-skewed pile squashed against zero.
- Compare , with the Poisson page at : the two sets of bars are almost identical, because in both.
- With and , shade the interval from 22 to 28 (roughly the mean , since ), then press Draw 1000 and check that about that share of the histogram falls inside it.
Related distributions
- A Binomial with is the Bernoulli, and is the sum of independent variables.
- The Poisson is the limit of the Binomial as and with held fixed.
- For large (a common rule of thumb is and both at least 10) it is well approximated by a Normal with mean and variance .