On May 29, 2015, at 9:31 AM, Wensui Liu wrote: > Good morning, All > I have a stat question not specifically related to the the programming > language. > To compare distributional consistency / discrepancy between two > samples, we usually use kolmogorov-smirnov test, which is implemented > in R with ks.test() or in SAS with "pro npar1way edf". > I am wondering if there is any alternative to KS test that could be > generalized to K-samples.
The 'coin' package (Hothorn, Hornick, van de Weil, and Zeileis) presents a variety of permutation and rank-based tests that would probably be more powerful than any multi-group variant of the KS test. The multi-group variant of the Wilcoxon Rank Sum Test presented in the examples for the help page: ?wilcox_test is the Nemenyi-Damico-Wolfe-Dunn test. -- David Winsemius Alameda, CA, USA ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.