Wilcoxon rank sum test
Show older comments
Hi I performed a Wilcoxon rank-sum test with two samples x and y with sample size n_x=55 and n_y=20. mean(x)=552.2632, std(x)=1210 and mean(y)=427.4472, std(y)=485 I have used matlab for this. [p,h,stats] = ranksum(x,y)
Results are p = 0.2678; h = 0; stats = zval: 1.1082 ranksum: 853
What is the interpretation of this result? what does p value signify here? Thanking you in advance.
Accepted Answer
More Answers (2)
Jos (10584)
on 4 Oct 2016
1 vote
The p-value is derived from comparing a test-statistic (in this case a z-value obtained by summing ranks) to a theoretical distribution. The p-value is an estimation of the chance of observing the data given the null-hypothesis being true. If this value is below a certain criterion (alpha, needed to set before you do the stats, not afterwards) you can decide to reject this null-hypothesis.
You have to understand that the p-value tells you absolutely nothing about the chance of any alternative hypothesis being true! Moreover, if your null-hypothesis is already unlikely in the first place, you have learned little by collecting the data and doing a test ...
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!