Bernoulli distribution
A Bernoulli random variable $X$ of parameter $p\in[0,1]$, denoted as $X\sim B(1,p)$, has a distribution on $\set{0,1}$ given by $$ p_0 = 1-p, \quad p_1 = p. $$
This is used to model the outcome of one biased coin toss.
-
Mean $\expect(X)=p$.
-
Variance $\var(X) = p-p^2$.
-
Generating function $$ G_X(t) = 1-p+pt, \qquad R=\infty. $$