Bernoulli distribution
The Bernoulli distribution is a probability distribution. It takes a value of 1 with probability p and a value of 0 with probability 1-p. It is sometimes written as . It is used in probability theory and statistics. It is named after a Swiss scientist Jacob Bernoulli.