Lably
Skip to content

Bernoulli distribution

Probability distribution modeling a coin toss which need not be fair

  • 3 min read
  • 8 chapters
Bernoulli Distribution
Schlurcher · CC BY 4.0

Related on Lably

Through Statistics, Probability distribution and Random variable

The Bernoulli distribution is a special case of the binomial distribution where a single trial is conducted (so n would be 1 for such a binomial distribution). It is also a special case of the two-point distribution, for which the possible outcomes need not be 0 and 1.

Properties

If X is a random variable with a Bernoulli distribution, then:

Pr(X=1)=p,Pr(X=0)=q=1−p.

The probability mass function f of this distribution, over possible outcomes k, is

f(k;p)={pif k=1,q=1−pif k=0.

This can also be expressed as

f(k;p)=pk(1−p)1−kfor k∈{0,1}

or as

f(k;p)=pk+(1−p)(1−k)for k∈{0,1}.

The Bernoulli distribution is a special case of the binomial distribution with n=1.

The kurtosis goes to infinity for high and low values of p, but for p=1/2 the two-point distributions including the Bernoulli distribution have a lower excess kurtosis, namely −2, than any other probability distribution.

The Bernoulli distributions for 0≤p≤1 form an exponential family.

The maximum likelihood estimator of p based on a random sample is the sample mean.

Sign in to keep reading

7 more chapters are free with a Lably account.

More in Statistics and probability