Mean and variance of binomial distribution