Skip to content

ks2_cdf

 KS2_CDF - Cumulative density function of Kolmogorov-Smivnov 2 sample test
   CDF = KS2_CDF(N1,N2, KS_DIFF)

   Returns the cumulative density function for 2 samples of size N1 and N2
   respectively as a function of the difference between the 2 distributions
   KS_DIFF.

   Approximation has been borrowed from MATLAB's KSTEST2 function.