Bernoulli
Heads or tails, with success rate p. (this is a piecewise function)
E[X]=pVar[X]=p(1−p) We can express the likelihood as a function (which allows for certain numerical analysis)
x∼Ber(ϕ)→P(x)=ϕx(1−ϕ)(1−x) Binomial
This is the number of success in n trials given success probability p.
P(X=k)=(kn)pk(1−p)n−k Here are some facts
- binomial RV is the sum of bernoulli RV's (Ber(p)=Bin(1,p))
It follows that
E[X]=npVar(X)=np(1−p) Binomial distributions need not be symmetrical.
Poisson
This is the distribution of x events happening given that λ events usually happen. It is the limit of Bin(n,p) such that np=λ and n→∞.
p(X=x)=x!λxe−λ The stats are
E[X]=Var[X]=λ Geometric
This is the number of trials until the first success
P(X=x)=(1−p)k−1p As such:
E[X]=p1Var(X)=p21−p Negative Binomial
This is the number of trials until r successes.
P(X=k)=(r−1k−1)(1−p)k−rpr It is also the sum of r geometric distributions, which means that
E[X]=prVar(X)=p2r(1−p) Uniform
This is just a distribution with uniform probability between α,β. The following are true:
E[X]=(α+β)/2Var(X)=(β−α)2/12 Exponential
This is the time until first success
f(X=x)=λe−λx The following are true:
E[X]=λ1Var(X)=λ21 Poisson and Exponentials are deeply connected. The poisson is events in a time, and exponential is time until an event.