The Suanshu Statistics Library supports the "Kolmogorov-Smirnov two-sample test" by rejecting the null hypothesis if $p$-value if smaller than significance level $\alpha$ (e.g., $p<0.05$).
My question is whether there is any method to check if the "test statistic" exceeds the critical value (for $\alpha = 0.05$) to reject the "null hypothesis" in Suanshu Library or any other statistics library?. If not, is there any formula to compute the critical values by ourself for two-sample K-Smirnov test to check against test statistic.
Any suggestions regarding this are welcome.
Other option is to check if the "test statistic(D)" exceeds the critical value of α to reject the Null Hypothesis.
My confusion over this is,what is the appropriate one which give exact result if I want to reject the Null Hypothesis..
Thanks
– Sam Aug 01 '11 at 16:30