0
$\begingroup$

The straightforward null hypothesis for the Mann-Whitney U test is that the two distributions are identical. However, many documents (including Wikipedia) also indicate that it is equivalent for comparing the medians of two distributions.

Suppose that two distributions have the same shape, when the null hypothesis is violated, some shift in location exists between the two distributions. My question is that when there is a shift in location, not only median but also mean (and other distribution properties) are different between the two distributions. Why do we specifically say it is a test for median? Is it possible that when the null hypothesis is wrong, and still the means of the two distribution are the same?

$\endgroup$

marked as duplicate by Glen_b -Reinstate Monica hypothesis-testing Mar 29 '17 at 9:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    $\begingroup$ The test is discussed in depth in many questions on site and I think your questions are largely already addressed. Did you try a search? $\endgroup$ – Glen_b -Reinstate Monica Mar 29 '17 at 9:18
  • $\begingroup$ For example, this or this or this or this... ctd $\endgroup$ – Glen_b -Reinstate Monica Mar 29 '17 at 9:24
  • $\begingroup$ ctd... (see also this) ... which discuss medians and means and the Mann-Whitney. If after a good search of our site (using keywords from your question) you're pretty confident that there's an aspect of your question not covered in the answers, you should clarify your question to be about that specific thing. $\endgroup$ – Glen_b -Reinstate Monica Mar 29 '17 at 9:35