Bernoulli Distribution

Probability Distribution Function

A random variable X has a Bernoulli distribution, denoted by XBernoulli(p) if and only if it has the probability distribution function as

f(x)=px(1p)1x for x=0,1

where p=P(X=1)

E(X)=xxf(x)=pVar(X)=E(X2)[E(X)]2=pp2=p(1p)