Bernoulli distribution §
The Bernoulli distribution is a discrete probability distribution for a random variable which takes the value 1 with probability p and the value 0 with probability q=1−p.
f(k;p)=pk(1−p)1−k for k∈{0,1}
Which is basiically, at k=1 (success) probability is p and at k=0(failure) probability is 1−p.
Mean §
The mean of the Bernoulli distribution is p.
Simple proof:
E[X]=k=0∑1k⋅f(k;p)=0⋅(1−p)+1⋅(1⋅p=p)=p
Variance §
The variance of the Bernoulli distribution is p(1−p).
Simple proof:
E[X2]=k=0∑1k2⋅f(k;p)=02⋅(1−p)+12⋅p=p
Var[X]=E[X2]−E[X]2=p−p2=p(1−p)
Bivariate Gaussian distribution §