How to computer the p value for one tail ranksum?

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Star Strider
Star Strider il 15 Ago 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by