Geometric mean and variance
M = distfun_geostat(Pr) [M,V] = distfun_unifstat(Pr)
a 1x1 or nxm matrix of doubles, the probability of getting success in a Bernoulli trial
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the Geometric distribution.
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.
The Mean and Variance of the Geometric Distribution are
http://en.wikipedia.org/wiki/Geometric_distribution