probability-theory

Definition

Bernoulli Distribution

The Bernoulli distribution models any setting with two possible outcomes, commonly denoted as success vs. failure, parameterised with success probability .

Probability Mass Function

The probability mass function of a success event is given by:

for where denotes a success and a failure.

Expected Value

The expectation of is given by:

Variance

The variance of is given by:

Cumulative Distribution Function

The cdf of is given by:

Example: Let for . What’s the cdf of ?

Example: Let . We get: