Bernoulli distribution
The Bernoulli distribution is a discrete probability distribution for a random variable which takes the value 1 with probability and the value 0 with probability .
Which is basiically, at k=1 (success) probability is and at k=0(failure) probability is .
Mean
The mean of the Bernoulli distribution is .
Simple proof:
Variance
The variance of the Bernoulli distribution is .
Simple proof: