How to computer the p value for one tail ranksum?

I have a 2010 Matlab and I want to use the ranksum function. However this version only computes the two tail pvalue.
I have two vectors, i.e., X1 and X2. I want to know if the median of X1 is greater than X2 (significance level: 0.05).
Could you please help me how I can do this? Thanks

 Accepted Answer

If your sample is large enough for it to give you the Z value, you can compute a one-tailed normal distribution probability on your own using that value.

More Answers (0)

Categories

Asked:

on 15 Aug 2016

Commented:

on 15 Aug 2016

Community Treasure Hunt

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

Start Hunting!