B2 - common discrete random variables

distribution functions

  • let X be a discrete RV, then the probability mass function (PMF) is defined as:
pX(a)=P(X=a))

where, ∑xpX(x=1

  • the cumulative distribution function (CDF) of X is defined as:
FX(a):=P{X≤a}∑x≤apX(c)
  • the tail of X is defined as:
F¯X(a)=P{X>a}=∑x>apX(x)=1−FX(a)
use case distribution PMF
one trial, two outcomes bernoulli pX(1)=p
pX(0)=1−p
fixed number of trials binomial pX(i)=P(X=i}=(ni)pi(1−p)n−i
until first success geometric pX(i)=P(X=i)=(1−p)i−1p
counting events over time/space poisson pX(i)=P(X=i)=e−λλii!

bernoulli (p)

X={1with probability p,0otherwise. X∼Bernoulli(p) pX(1)=ppX(0)=1−p

binomial (n,p)

pX(i)=P(X=i)=(np)pi(1−p)n−i

where, i=0,1,2,…,n

X∼Binomial(n,p)

geometric (p)

pX=P{X=i}=(1−p)i−1p

where, i=1,2,3,…

X∼Geometric(n,p)

poisson (λ)

pX(i)=e−λλii!

where, i=0,1,2,…