Contents
1. Definitions
2. Use of the Bernoulli distribution
3. Mean.
4. Variance.
1. Definition
A random variable is said to follow a Bernoulli distribution if it takes values
and
, and
We write that .
2. Use of the Bernoulli distribution
We use the Bernoulli distribution to determine the probability of some event occurring (or not). For example, the probability of rolling a
on a fair
sided dice, is
, and so let
be the outcome of whether we roll a
or not. This follows a Bernoulli distribution with
.
The probability of an event occurring is given by , and the probability of an event not occurring is given by
.
3. Mean & Variance
Proof
For the mean, we have . For the variance, consider the identity
. As
and
, we have that
, and so