Binomial Distribution

This actually comes from the binomial theorem.

We say that X is a random variable has a binomial distribution with parameters p and n , and we write X∼bin(n,p). If X has a pmf of the form

f(x;n,p)={(nx)px(1−p)n−xx=0,1,2,…,n0otherwise

We have that there’s a simplified form for F being the cdf

F(k;n,p)=P(X≤k)=I1−p(n−k,k+1)=1−Ip(k+1,n−k)

but in simple cases we can just sum over the integers i≤k. Where Ix(a,b) represents the regularized incomplete beta function.

We have that

Prop: Let X1,…,Xn be independent random variables each one with a distribution Ber(p). Then

∑i=1nXi∼bin(n,p)

And any random variable with distribution bin(n,p) can be expressed as the sum above.
This means that any binomial random variable can be thought of as a sum of Bernulli Random Variables

With this we can get the probability generating function, getting that $$ G(t) = (1-p+pt)^n $$

the moment generating function

M(t)=(1−p+pet)n

The characteristic function $$\phi(t) =(1-p+pe^{it})^n$$
Prop: Let X and Y be independent random variables, such that X∼bin(n,p) and Y∼bin(m,p). We get that X+Y∼bin(n+m,p)

Prop: Let X be a random variable distributed by bin(n,p), then n−X∼bin(n,1−p)

Prop: Let X∼bin(n,p), then we have the following recurrent relation: $$P(X = i+1) = \frac{n-i}{i+1} \frac{p}{1-p} P(X = i)$$for 0≤i≤n.