Compute mean and variance of the binomial distribution.
n and p must be of common size or one of them must be scalar
n = 1:6; p = 0:0.2:1; [m, v] = binostat (n, p)
[m, v] = binostat (n, 0.5)
Package: statistics