📖Glossary📖
Here is your desired excerpt from our glossary
Bernoulli distributed random variable : A random variable $X$ that can only take the values 0 and 1 has a Bernoulli distribution with parameter $p$ if $P[X=1]=p$ and $P[X=0]=1-p.$ A Bernoulli distributed random variable has an expected value $E[X]=p$ and a variance of $var(X)=p(1-p).$