Binomial distribution

A binomial distribution counts the number of successes after performing NN binary trials, each with probability of success aa. It’s clear to see that the probability of nn successes is

pN(n)=an(1−a)N−n(Nn). p_N(n) = a^n (1-a)^{N-n} {N \choose n}.

The mean will be μ=aN\mu = aN and the variance Var⁡=a(1−a)N\Var = a(1-a)N.

For large NN, the binomial distribution approaches a normal distribution.