p-value returned by non-paraemtric test
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Akzeptierte Antwort
Tom Lane
am 22 Feb. 2013
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Hypothesis Tests finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!