-1
$\begingroup$

We are preparing statistical analysis of cross-sectional study; and have the following question:

We want to check whether difference btw two age medians grouped by categorical variable (died vs alive) is statistically significant. We used Mann-Whitney U test. Did we choose the right test?

$\endgroup$
1

1 Answer 1

4
$\begingroup$

No, the Mann-Whitney is not a test for differences in median. It's possible for two samples to have exactly the same median and for the Mann-Whitney test to be significant.

It's quite common, however, to report medians together with a Mann-Whitney test if you have to report a test. That's basically ok as long as you don't claim it's a test for difference in medians.

There is a test for medians, sometimes called "Mood's test", but it's not used very much. More usefully, you could get a bootstrap confidence interval for the difference or ratio of the medians

$\endgroup$
6
  • $\begingroup$ Thanks for your rapid answer 🙏 $\endgroup$
    – Abo7aneen
    Commented Jul 9, 2022 at 6:05
  • $\begingroup$ So, for means (t-test) for medians (Mood's test), Am I right? $\endgroup$
    – Abo7aneen
    Commented Jul 9, 2022 at 6:05
  • $\begingroup$ Yes, basically. $\endgroup$ Commented Jul 9, 2022 at 6:54
  • $\begingroup$ Thanks sir fir your help $\endgroup$
    – Abo7aneen
    Commented Jul 9, 2022 at 6:56
  • $\begingroup$ Mood's test is considered to be obsolete by many because of its poor efficiency (power). Efficient tests for differences in medians come from model-based estimates, e.g. (1) if you have a log-normal distribution the efficient estimate of the median is the antilog of the mean of the logs, or (2) using a semiparametric model to estimate differences in medians. $\endgroup$ Commented Jul 9, 2022 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.