Definition · applies to random variables

High school

Consider a random experiment that either succeeds or fails, such as a coin flip that succeeds if the coin lands heads. A random variable $X$ that equals $1$ for success and $0$ for failure has a Bernoulli distribution with success probability $p$ if

\[P(X = 1) = p \quad \text{and} \quad P(X = 0) = 1 - p.\]

Examples

Worked examples

Properties

All definitions · All distinctions · All examples