Skip to main content
Planned maintenance impacting Stack Overflow and all Stack Exchange sites is scheduled for Monday, September 16, 2024, 5:00 PM-10:00 PM EDT (Monday, September 16, 21:00 UTC- Tuesday, September 17, 2:00 UTC). The email/password authentication method will be unavailable for logging in and registering. Read more here

Questions tagged [wilcoxon-mann-whitney-test]

The Wilcoxon rank sum test, also known as Mann-Whitney U test, is a non-parametric rank test to assess whether one of two samples has larger values than the other.

275 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
20 votes
0 answers
753 views

Is the Wilcoxon two-sample test maximally powered to detect proportional odds alternatives?

We know from the literature that The Wilcoxon-Mann-Whitney two-sample rank sum test is optimal for detecting simple location shifts when comparing two continuous random variables that each have a ...
Frank Harrell's user avatar
6 votes
0 answers
1k views

Power calculations for Wilcoxon test

I am running a Wilcoxon test to compare means between two groups (control and experiment) of unequal sample sizes. The distribution is right skewed and bound by zero for both groups. I would like to ...
Alessandra Bielli's user avatar
5 votes
0 answers
752 views

What model contains Wilcoxon's rank sum test?

As Frank Harrel mentions in the answer to Logistic regression and Wilcoxon test, Wilcoxon's rank sum test (aka Mann-Whithey test) is contained in the proportional odds logistic regression, which would ...
Michael M's user avatar
  • 12k
5 votes
0 answers
1k views

Hypothesis testing with non-iid observations

I have a dataset with observations which violate the independent and identically distributed (iid) assumption. The dataset is composed by a number of post-click conversion events (purchases on a ...
Gianluca's user avatar
  • 303
4 votes
2 answers
742 views

Is Mann Whitney U the right statistical test for this analysis?

I am studying the spatial interactions between coral at a specific reef. I have the abundances of each coral species at each site we studied. I also have already run statistical tests and basically ...
Sarah's user avatar
  • 41
4 votes
0 answers
2k views

How to do a stratified nonparametric test?

I'm trying to use the "coin" (conditional inference) package to perform a stratified nonparametric test for difference in distribution (for count data). I tried a stratified Mann-Whitney-Wilcoxon ...
lostisle's user avatar
4 votes
0 answers
98 views

Comparison of two means when they are means of means?

I have two vectors "$A$" and "$B$". Each vector contains multiple mean values derived from observations. The two vectors are subsets of a sample that has been categorized into five vectors. All ...
alexalexalex's user avatar
4 votes
0 answers
407 views

Minimum sample for non parametric test?

Exactly how many sample to be minimum size for non parametric test? Right now i have 3 data with really2 small sample size 1. 5 pairs for wilcoxon signed rank test (pretest and postest in 1 place) 2. ...
tanti's user avatar
  • 41
4 votes
0 answers
2k views

Reporting Mann Whitney test rejecting the null hypothesis, but samples have equal medians

I'm using the Mann Whitney test to verify if two population samples are equal. If the p-value is less than alpha (in this case, 0.05) I reject the null hypothesis and use the median of each population ...
Milena Araujo's user avatar
4 votes
0 answers
4k views

Comparing ROC-curves

I would like to find if there is a significant difference between two ROC-curves. I've found the roc.test in the pROC package. However, I cannot seem to find any information on how this test is ...
pir's user avatar
  • 5,136
3 votes
0 answers
447 views

Multiple comparisons between two groups (non-parametric)

Update Added more details about the Experimental setup. My experiment comprised two groups, control (N=25) and experimental (N=26). Each participant belonged to one group. Their performance has been ...
Ioannis K.'s user avatar
3 votes
0 answers
53 views

Algebraic Manipulations in Mann-Whitney-Wilcoxon Test Statistics

Given Let $\Delta > 0 $ be positive real number. Consider the Wilcoxon-Mann-Whitney upper tail test $H_0: \Delta \leq 0 \,\,\, \text{vs} \,\,\, H_a: \Delta > 0$ aimed at testing the difference ...
inkalchemist1994's user avatar
3 votes
0 answers
363 views

Statistical method comparing difference in extreme percentile

Statistical methods like wilcox.test to t.test test differences in medians or means. I would like to compare the difference in ...
user1424739's user avatar
3 votes
0 answers
213 views

Can non-parametric tests, e.g. Mann-Whitney U, be used on non-normally distributed statistics off of bootstrap samples?

I have some return data from some different portfolios which I would like to compare using risk vs return ratios. The standard Sharpe ratio has a nice solution for calculating the significance of the ...
Jeramia Poland's user avatar
3 votes
0 answers
393 views

Combining paired and unpaired samples in Wilcoxon/MWU test

I am trying to compare numbers in two sets (X and Y) to test if numbers in one of the set are statistically larger than the others. However, some of the numbers are paired, and some are not. For ...
avi's user avatar
  • 409
3 votes
0 answers
1k views

Wilcoxon Rank-Sum vs Signed Rank for paired

I'm working with a dataset that contains paired samples (but some samples are missing their pair) and I want to check for an association between a binary variable and a bunch of numeric variables. ...
Slavatron's user avatar
  • 173
3 votes
0 answers
66 views

Manually computed Mann–Whitney U-test differs from R's output

I found a sketchy lecture notes about Mann–Whitney U-test. There where were given data X: 30 32 33 33 36 37 40 44 Y: 27 29 31 34 34 35 41 It was computed that ...
selflearner's user avatar
3 votes
0 answers
170 views

List of sample arrangements at a given Wilcoxon / Mann-Whitney test statistic

Consider a Wilcoxon-Mann-Whitney test statistic, either in the form (i) "W = sum of ranks in sample A"; or in the form (ii) "sum of ranks in sample A - the minimum possible sum of ranks in sample ...
Glen_b's user avatar
  • 287k
3 votes
0 answers
4k views

Different ways to calculate the test statistic for the Wilcoxon rank sum test

There are different ways to calculate the test statistic for the Wilcoxon rank sum test (quote from R help): The literature is not unanimous about the definitions of the Wilcoxon rank sum and ...
user avatar
3 votes
0 answers
180 views

Semi-parametric approach: nonparametric test of residuals from linear mixed model

I want to know if this is a reasonable approach. I conducted the same experiment on two different species with small sample sizes (7-25 per species) in 4 years at 6 different sites. I measured damage ...
Sharon's user avatar
  • 31
3 votes
0 answers
9k views

Why does one get a 0.000 Mann-Whitney U value (not p-value) etc.?

1) Is it okay to run a Mann-Whitney U test on unequal sample sizes i.e. two groups (N=11, N=12)or is there an alternative test? 2) What does it mean when one obtains a zero value for a Mann-Whitney U ...
Platypezid's user avatar
  • 1,267
3 votes
1 answer
355 views

Most appropriate test for count data

So I've performed an experiment whereby I had 12 1km transects. 6 of these were along rivers running through agricultural land and 6 through woodland. These were arranged in pairs so that each agri ...
user112792's user avatar
3 votes
1 answer
278 views

How to bootstrap for the standard error of a two sample test

I want to calculate the standard error of the area under the curve computed with the Mann-Whitney U-Test (MWUT). Hanley and McNeil 1982 give a formula for it (they call the AUC calculated with the ...
dylan2106's user avatar
  • 464
2 votes
0 answers
43 views

Unbiasedness Wilcoxon-Mann-Whitney Test

There are many different alternatives discussed for the Wilcoxon-Mann-Whitney test. One alternative is $P(X < Y) + \frac{1}{2}P(X = Y) \neq 0.5$. There are compelling arguments for this, such as ...
Julian Karch's user avatar
  • 1,990
2 votes
1 answer
48 views

rank-sum test vs. anova

I have a set of data looks like this: hwid freq code output 101 5150 764 24 101 5170 768 24 101 5190 764 24 102 5150 752 24 102 5170 760 24 ... ... ... 24 The data represents "power level&...
xrfang's user avatar
  • 363
2 votes
0 answers
44 views

How to know if I have enough sample for a small sample t-test to be appropriate?

Say I have 15 or 20 samples each from two samples. The data shows evidence of strong skew. I am considering a two-sample t-test of means, based on the assumption that the sampling distribution of the ...
Estimate the estimators's user avatar
2 votes
0 answers
140 views

When to use Spearman correlation and when to use Wilcoxon Rank sum test?

I have collected data on 1680 test scores and 1680 participation rates from 7 different courses and 4 different semesters using information from 60 students. I am confused of whether to use a ...
Lost Soul's user avatar
2 votes
0 answers
87 views

Fisher exact test for enrichment of subpopulations in single cell data

We have single cell data from 12 control and 12 diseased individuals. The data has been integrated (remove batch effects) and clustered. We would like to know if there are any clusters that are ...
decapicone's user avatar
2 votes
0 answers
198 views

How to conduct a boostrapped or a permutation wilcoxon test (in R)

I have a total of 18 mice, 9 from Healthy group and 9 from Sick group. Since I have a very poor sample size I would like to use boostrapping or permutation test. Is there a way to conduct a ...
learners's user avatar
  • 579
2 votes
0 answers
769 views

Mann-Whitney U Test test valid for percentages (% seagrass cover)?

Is the Mann-Whitney U Test test valid for percentages (not counts, but percent cover of seagrass)? All my data points are average percent cover of seagrass with about 53% of the data being zeros ...
Nate's user avatar
  • 1,675
2 votes
0 answers
35 views

How can I explain signifcant combined groups in Mann Whitney U but no individual effects in Kruskal Wallis?

I am struggling to get my head around the concepts of my tests and how to explain them. Unfortunately we didn't recieve much in depth teaching about it on my course. I have 4 variables, one is a ...
Emily's user avatar
  • 21
2 votes
1 answer
298 views

How do I determine whether there is a significant difference between two sets of price data?

I am conducting a study where I am collecting prices from two groups of funeral homes in a particular state: in the first group, the homes I collected prices from are owned by families, and in the ...
Nola's user avatar
  • 21
2 votes
0 answers
1k views

Actual difference between the statistic results from scipy.stats.ranksums and scipy.stats.mannwhitneyu

So, I have been trying to test if two independent samples come from the distribution, i.e. if they are greater or less than one another. Eventually I found out the Mann Whitney U Test is the ...
Lucas Thimoteo's user avatar
2 votes
0 answers
31 views

Testing tuples of response variables

I'm struggling with comparing samples with multiple response variables, where such variables have a strict precedence or importance order. For the sake of this exercise, let's assume that each sample ...
an_drade's user avatar
  • 121
2 votes
0 answers
311 views

Estimating distribution of tied ranks for tie correction to Wilcoxon-Mann-Whitney U test

Tests based on ranking elements, such as Mann, H. B.; Whitney, D. R. On a Test of Whether one of Two Random Variables is Stochastically Larger than the Other. Ann. Math. Statist. 18(1):50-60, 1947, ...
Wandering Logic's user avatar
2 votes
0 answers
19 views

Non-parametric test for station variation

Certain disease reduces the concentration of calcium in people's blood. To test the effectiveness of a drug for the treatment of the disease, 9 individuals with the disease underwent an assessment in ...
jassis's user avatar
  • 562
2 votes
0 answers
35 views

One-sample versions of the signed rank and rank sum tests?

I wonder if there are applications of the signed rank and rank sum tests in a one-sample context? Signed rank Is there a form of the signed rank test where the difference $A-B$ for each subject is ...
Alexis's user avatar
  • 30.4k
2 votes
0 answers
203 views

Test for different median in two independent groups with repeated measurements

I want to test if the median of a continuous variable (e.g. height) is the same in two independent groups (boys and girls). For each person there are multiple measurements of the continuous variable ...
needRhelp's user avatar
  • 311
2 votes
0 answers
281 views

If Mann-Whitney U is a median test? Then what the heck is "unpaired pairwise median"?

Header: I am really sorry for the confusing title. I am going to edit it so it fits the responses I get based on Mann Whitney U. So I had this exact question on stack overflow about is the Mann ...
mlane's user avatar
  • 301
2 votes
0 answers
208 views

Testing differences in 5 star rating (Which hotel to choose)

Say, I want to choose a Hotel with the following ratings (1-5) on TripAdvisor. This seemed interesting if the mean for the Hotel with smaller number of votes is bigger than the mean of the hotel with ...
bebi's user avatar
  • 93
2 votes
2 answers
207 views

Go with t-test or Mann-Whitney U test?

I'm measuring performance of 2 methods (method_A and method_B) that try to satisfy customers demands. Both methods produce ...
user3541395's user avatar
2 votes
0 answers
98 views

Whitney-Mann and multiple regression

Is it appropriate to use Whitney-Mann (to compare the groups) and multiple Regression model (to analyse each factor) within the same data? (parametric and non-parametric test on the same data)
Luca's user avatar
  • 21
2 votes
0 answers
530 views

Wilcoxon Test with Random Effect

I would like to test if there is a significant difference in the speed of movement between 2 treatments for different females. For each female, I have several sampling points. I have a table with the ...
Mathilde C.'s user avatar
2 votes
0 answers
186 views

multi-level Wilcoxon analysis

The question was originated from the paper [1] Table 3 [2], for every species, there was a data frame with two column: disease categories and the conservation index. Conservation index is numeric. The ...
pengchy's user avatar
  • 269
2 votes
0 answers
542 views

Sample size for multiple hypothesis test: Wilcoxon test and Benjamini–Hochberg procedure

I have an experiment with a control and multiple treatments and want to find which one performs the best. I would use the Wilcoxon pairwise test to test all the hypotheses and correct the p-values ...
František Kaláb's user avatar
2 votes
0 answers
430 views

Adjusting P-Values of one-tailed tests

I am running a large number of two-sample Wilcox tests and using Benjamini, Hochberg, and Yekutieli method to adjust the p-values. The issue is that when I conduct a one-tailed test, the p-values ...
S.K.'s user avatar
  • 21
2 votes
0 answers
281 views

T- tests on non-normal data

I keep reading mixed things about doing t-tests on non-normal data when the sample sizes are large and I don't know what to believe. I have large samples sizes, over 1000 but the distribution is by ...
catherine2017's user avatar
2 votes
0 answers
59 views

Groups with very unequal sizes

I want to compare means of the data of two human populations, group A has 12,400 (91.7%) subjects and group B has 1118 (8.3%). These are further subdivided to groups A1 (7598, 93.8%), B1 (499, 6.4%), ...
CometGirl's user avatar
2 votes
0 answers
1k views

Mann Whitney U test or Kruskall-Wallis + Dunn test as a post hoc?

I performed a set of inhibition experiments where Lactobacilli supernatants where tested against a pathogen cell culture. These experiments were carried out in a 96-well plate where pathogen was ...
Neuls's user avatar
  • 25
2 votes
0 answers
723 views

Confidence interval for Mann-Whitney test (Hodges–Lehmann estimator)

Does anybody knows how to calculate the confidence interval using normal approximation for the Hodges-Lehmann estimator (median of Y-X)? This is how Minitab performs calculation, but I cannot find ...
zeferino's user avatar
  • 581

1
2 3 4 5 6