Using ranksum function
1 回表示 (過去 30 日間)
古いコメントを表示
I have a distribution which is not normal and i want to use wilcoxon rank test to test if the median is =0;if the observations are in vector X can i run the test this way: [p,h]=ranksum(X,0)
0 件のコメント
回答 (2 件)
Oleg Komarov
2011 年 5 月 14 日
p = signrank(x) performs a two-sided signed rank test of the null hypothesis that data in the vector x comes from a continuous, symmetric distribution with zero median, against the alternative that the distribution does not have zero median. The p value of the test is returned in p.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!