derive variance of a distribution
Sigiloso
Variance is the sum of the squared distances from the mean divided by the sample size. You can calculate the variance of some distributions in other ways. For example, the variance of a binomial distribution is the sqrt(n*p*(1-p)).