The binomial distribution
The binomial distribution is defined by this formula for its PDF:

, for x = 0, 1, …, n
Here, n and p are parameters: n must be a positive integer and 0 ≤ p ≤ 1. The symbol is called a binomial coefficient. It can be computed from the following formula:

The exclamation point (!) stands for factorial, which means to multiply the integer by all its preceding positive integers. For example, five factorial is 5! = 5·4·3·2·1 = 120. ...
Get Java Data Analysis now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.