p-value returned by non-paraemtric test

1 次查看(过去 30 天)
When you perform two-sample test with non-parametric tests such as K-S test and Mann–Whitney U test in MATLAB, is the p-value returned for a one-tailed test or for a two-tailed test?
Thanks.

采纳的回答

Tom Lane
Tom Lane 2013-2-22
Type "help kstest" and you may see (if your MATLAB is recent enough) that there's a 'Type' option to control whether it's one-tailed or two-tailed. But the default is two-tailed.
Same idea for the ranksum function.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by