How to computer the p value for one tail ranksum?

1 view (last 30 days)
MINA
MINA on 15 Aug 2016
Commented: Star Strider on 15 Aug 2016
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

Star Strider
Star Strider on 15 Aug 2016
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)

Community Treasure Hunt

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

Start Hunting!