Distribution - Bernoulli

Gist

A simple probability distribution for anything with success or failure. Like flipping a coin.

Definiton

It's a discrete probability distribution with only two outcomes.

P(X=x)={p,x=1,1p,x=0,

Properties

  1. Mean: p
  2. Variance: p(1p)

Relationship

  1. It's a special case of the Distribution - Binomial when there is only one event. For example, if n (number of events) and k (number of subset) are equal to 1:
P(X=1)=(11)p1(1p)11

which then reduces down to:

P(X=1)=p

Trivial.

  1. The Distribution - Geometric models the number of i.i.d Bernoulli trials to get a success.