A Bernoulli distribution models the outcome of a single trial that has only two possible outcomes, typically coded as:

  • 1 = success
  • 0 = failure

Let the random variable follow a Bernoulli distribution with parameter , where:

  • is the probability of success (i.e., )
  • Then

We write this as

Probability Mass Function (PMF):

Note : can be either 0 or 1

Key Characteristics:

  • Mean :
  • Variance: