Bernoulli distribution
The bernoulli distribution is a discrete probability distribution with two possible outcomes - 'success' or 'failure' (e.g., heads or tails) - where the probability of a success is equal to $P$ and the probability of a failure is equal to $1 - P.$ The graph below shows a bernoulli distribution where the probability of a success equals $P$ = . Move the slider to see bernoulli distributions with different success probabilities. The bernoulli distribution is a special case of the binomial distribution, with number of trials $n = 1.$

success probability $P$ =