Bernoullivariabel
Bernoullivariabel, commonly called a Bernoulli random variable, is the simplest discrete probability model for a binary outcome. It takes two values, typically 0 and 1, with a single parameter p in [0,1] that specifies the probability of the value 1 (success). The probability mass function is P(X=1)=p and P(X=0)=1−p.
Key statistics describe its behavior. The expectation is E[X]=p and the variance is Var(X)=p(1−p). The moment generating
Interpretation and use: A Bernoulli variable models a single Bernoulli trial, such as a coin flip, pass/fail,
Relationship to other distributions: If X1,...,Xn are independent Bernoulli(p) variables, their sum S=∑ Xi has a
Special cases and notation: If p=0 or p=1, the variable is degenerate, taking a constant value. The
Bernoulli variables underpin many probabilistic models and appear across statistics, machine learning, and quality control as