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.

The Mann-Whitney U test is a non-parametric rank test to assess "whether one of two samples of independent observations tends to have larger values than the other." The test statistic ($U$) is constructed by counting, for each observation in the first sample, how many observations from the second sample have a smaller rank (count 1/2 for any that are equal to it): $U = \sum_{i=1}^I \sum_{j=1}^J \mathbb{I}_{y_i \lt x_j}.$

756 questions
124
votes
7 answers

How to choose between t-test or non-parametric test e.g. Wilcoxon in small samples

Certain hypotheses can be tested using Student's t-test (maybe using Welch's correction for unequal variances in the two-sample case), or by a non-parametric test like the Wilcoxon paired signed rank test, the Wilcoxon-Mann-Whitney U test, or the…
26
votes
2 answers

What is the difference between the Wilcoxon' sRank Sum Test and the Wilcoxon's Signed Rank Test?

I was wondering what the theoretical difference is between the Wilcoxon Rank-Sum Test and the Wilcoxon Signed-Rank Test using paired observations. I know that the Wilcoxon Rank-Sum Test allows for a different amount of observations in two different…
26
votes
3 answers

Is the W statistic output by wilcox.test() in R the same as the U statistic?

I've recently been reading about the Mann-Whitney U test. It turns out that to carry out this test in R you actually need to run a Wilcoxon test! My question: is the W statistic of wilcox.test in R identical to the U statistic?
luciano
  • 12,197
  • 30
  • 87
  • 119
26
votes
2 answers

When to use the Wilcoxon rank-sum test instead of the unpaired t-test?

This is a followup question to what Frank Harrell wrote here: In my experience the required sample size for the t distribution to be accurate is often larger than the sample size at hand. The Wilcoxon signed-rank test is extremely efficient as…
Tal Galili
  • 19,935
  • 32
  • 133
  • 195
26
votes
1 answer

Have the reports of the death of the t-test been greatly exaggerated?

Reading through CV all-time classics I came across a statement that I would like to clarify. This is the post and my question refers to the closing remarks: "I have to note that all of the knowledge I just imparted is somewhat obsolete; now that we…
25
votes
1 answer

Non-parametric test if two samples are drawn from the same distribution

I would like to test the hypothesis that two samples are drawn from the same population, without making any assumptions about the distributions of the samples or the population. How should I do this? From Wikipedia my impression is that the Mann…
23
votes
5 answers

What exactly does a non-parametric test accomplish & What do you do with the results?

I have a feeling this may have been asked elsewhere, but not really with the type of basic description I need. I know non-parametric relies on the median instead of the mean to compare... something. I also believe it relies on "degrees of…
23
votes
2 answers

How to test for differences between two group means when the data is not normally distributed?

I'll eliminate all the biological details and experiments and quote just the problem at hand and what I have done statistically. I would like to know if its right, and if not, how to proceed. If the data (or my explanation) isn't clear enough, I'll…
22
votes
1 answer

Post-hoc tests after Kruskal-Wallis: Dunn's test or Bonferroni corrected Mann-Whitney tests?

I have some non-Gaussian distributed variable and I need to check if there are significant differences between the values of this variable in 5 different groups. I have performed Kruskal-Wallis one-way analysis of variance (which came up…
20
votes
2 answers

Mann-Whitney U test with unequal sample sizes

I have two unequal groups (94 and 52) and want to run a Mann-Whitney U-test to see whether their scores on a measured variable differ. I see that it is OK to do with Kruskall-Wallis, does the same apply to Mann-Whitney?
George
  • 243
  • 1
  • 2
  • 6
16
votes
1 answer

Wilcoxon rank sum test in R

I have results from the same test applied to two independent samples: x <- c(17, 12, 13, 16, 9, 19, 21, 12, 18, 17) y <- c(10, 6, 15, 9, 8, 11, 8, 16, 13, 7, 5, 14) And I want to compute a Wilcoxon rank sum test. When I calculate the statistic…
user14650
16
votes
8 answers

Minimum sample size for unpaired t-test

Is there a "rule" to determine the minimum sample size required for a t-test to be valid? For example, a comparison needs to be performed between the means of 2 populations. There are 7 data points from one population and only 2 data points from the…
15
votes
7 answers

Why the p-value of t.test() is not statistically significant when mean values look really different

I am trying to find out whether there is a significant difference in the mean value of a biomarker between two groups. I am using t.test in R. The mean(SD) values are 1142(1079) and 864(922)in the groups. But the p-values of the test shows the…
15
votes
2 answers

Why is the Mann–Whitney U test significant when the medians are equal?

I've received a results from a Mann-Whitney rank test that I don't understand. The median of the 2 populations is identical (6.9). The uppper and lower quantiles of each population are: 6.64 & 7.2 6.60 & 7.1 The p-value resulting from the test…
Mog
  • 1,061
  • 3
  • 16
  • 22
14
votes
1 answer

What is the difference between wilcox.test and coin::wilcox_test in R?

These two functions exist in R but I don't know their differences. It seems that they only return the same p-values when calling wilcox.test with correct=FALSE, and wilcox_test (in the coin package) with distribution="aymptotic". For other values…
mljrg
  • 551
  • 1
  • 7
  • 13
1
2 3
50 51