For details on the Bernoulli distribution please visit the electronic book Fundamentals of Statistics.