Login
Login

Re: kolmogorov-smirnov two-sample test

Home 21090308 Forums Re: kolmogorov-smirnov two-sample test

#2067
Ryu
Member

I am not sure what you mean by “computing the critical value” (alpha). In any case, you can always construct an instance of the KS distribution yourself and call the cdf or quantile functions to compute the p-value or cutoff value.

The javadoc is here:
http://www.numericalmethod.com/javadoc/suanshu/com/numericalmethod/suanshu/stats/test/distribution/kolmogorov/KolmogorovTwoSamplesDistribution.html

Let us know if you need further assistance.