# Thread:

1. ## Mann-Whitney U test

While I was analysing my data (regards to number of chemotherapy received by 2 groups of patients) I note the median values of both groups are same but applying the Mann-Whitney U test, it showed that there was significant difference in the number of chemptherapy received. Is it possible?
Thank you
Chandramsk

2. i think yes.

The test statistic only depends on the ordering of data, not its actual value. You can contruct a sample where the test statistic is significant but the subsample medians are arbitrarily close to each other. The example below assumes that data is continuous).

Suppose you had some data $X$ where the subsample medians were very different and the U statistic was significant. You could take a transformation of the data $X' = aX +b, ~~~ a \in (0, \epsilon]$ which would make both subsample medians arbitrarily close to b (and hence, arbitrarily close to each other). The U statistic would be unaffected since the above transformation doesn't change the ordering of any data.

3. ## Re: Mann-Whitney U test

Suppose I have a non-normal distribution with a big skew, apply a treatment to it and then want to compare the distributions (same population) pre/post treatment. I think the Mann-Whitney U test should work right? Is there a better option?
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 2, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9504318833351135, "perplexity_flag": "middle"}