Kolmogorov-Smirnov mean and variance
M = distfun_ksstat(N) [M,V] = distfun_ksstat(N)
a matrix of doubles , the number of observations. N belongs to the set {1,2,3,4,.......,2147483647}
a matrix of doubles, the mean
a matrix of doubles, the variance
Computes statistics from the Kolmogorov-Smirnov distribution.
Any scalar input argument is expanded to a matrix of doubles of the same size as the other input arguments.
Only the asymptotic mean and variance is implemented in this function, i.e. the mean and variance computed by this function is more and more accurate when n increases.
The asymptotic mean and variance of the Kolmogorov-Smirnov distribution is
http://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test