In probability and statistics, the binomial distribution is a probability distribution which models the probabilities of having a certain number of successes among "n" identical trials (each having "p" as the probability of success). It is also written as formula_1. The variables n and p are thus the two parameters of a binomial distribution.