Chi-Squared mean and variance
M = distfun_chi2stat(k) [M,V] = distfun_chi2stat(k)
a matrix of doubles, the number of degrees of freedom, k>0 (can be non integer)
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the Chi-Squared 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/Chi-squared_distribution