Empire Research Press — International Research, Publishing & Professional Knowledge  ·  Research. Focus. Sovereignty.
Data Analysis & Statistics  ·  14 August 2026  ·  10 min read

Non-Parametric Tests Explained: Mann-Whitney, Wilcoxon, Kruskal-Wallis, and When to Use Each

MK
Dr. Madhuri Kanojiya
Founder & Director · Empire Research Press

MK — Dr. Madhuri Kanojiya, Founder & Director · Empire Research Press

Most researchers meet the t-test and ANOVA first, run into a dataset that breaks their assumptions, and only then discover there’s an entire parallel set of statistical tests built for exactly that situation. Non-parametric tests don’t get the spotlight parametric tests do, but for skewed data, small samples, ordinal scales, and outlier-heavy results, they’re often the more honest choice — not a downgrade, a different tool for a different job.

This guide covers what non-parametric tests are, when to reach for one instead of its parametric counterpart, and how to run the four you’ll use most often: Mann-Whitney U, Wilcoxon signed-rank, Kruskal-Wallis, and Friedman.

What Makes a Test “Non-Parametric”

Parametric tests — the t-test, ANOVA, Pearson correlation — assume your data comes from a distribution with specific, estimable parameters, typically a normal distribution with a mean and standard deviation that summarize it well. Non-parametric tests make no such assumption. That’s why they’re sometimes called distribution-free tests: instead of working with raw values and assuming a bell curve, most non-parametric tests convert data to ranks and analyze the ranks instead.

This has a practical consequence worth understanding up front: because they work on ranks, most non-parametric tests compare medians (or more precisely, distributions) rather than means. That’s not just a technical footnote — it changes what your result actually claims. A significant Mann-Whitney result tells you the distributions differ, which usually (though not always) reflects a difference in medians, not means.

When to Use a Non-Parametric Test

Reaching for a non-parametric test isn’t purely about failing a normality check. Four situations call for one:

1. Your data is ordinal, not continuous. Likert-scale responses, rankings, and other ordinal data don’t have equal intervals between values, so the arithmetic mean is a questionable summary to begin with. Non-parametric tests, which convert everything to ranks anyway, handle this naturally.

2. Your sample size is small and normality is uncertain. With very small samples, you often can’t verify normality reliably, and parametric tests lose their robustness. As a rough guideline, parametric tests tend to hold up reasonably well with non-normal data once you have upwards of 15–20 observations per group — below that, a non-parametric alternative is the safer default.

3. Your data is heavily skewed or dominated by outliers. Income, reaction times, hospital stay lengths, and similar variables are frequently right-skewed, with a long tail of extreme values. The mean gets pulled around by that tail; the median doesn’t. If the median is genuinely the more meaningful summary for your research question — the “typical” case rather than the average distorted by extremes — a non-parametric test is testing the right thing.

4. Your data fails a normality or variance-homogeneity check outright, and transforming it isn’t practical or defensible for your context.

What non-parametric tests trade away for that flexibility is statistical power: given the same sample and a real effect, a non-parametric test is somewhat less likely to detect it than the correctly-specified parametric equivalent. That’s the central trade-off — robustness to assumption violations versus sensitivity to real effects. If your data genuinely satisfies the parametric assumptions, the parametric test is usually the better choice; non-parametric tests earn their keep specifically when those assumptions don’t hold.

The Four Core Non-Parametric Tests

Each of the tests below has a direct parametric counterpart, which makes them easier to learn by contrast.

Mann-Whitney U Test (≈ Independent Samples t-Test)

Use it when: comparing two independent groups on a continuous or ordinal outcome, and the assumptions for an independent-samples t-test aren’t met.

What it does: pools both groups’ values, ranks them from lowest to highest, then compares the sum of ranks between groups. If one group’s values tend to rank consistently higher than the other’s, the test detects it — without ever assuming either group is normally distributed.

Example: comparing pain scores (1–10 ordinal scale) between a treatment group and a control group. Pain scores aren’t a continuous measurement with equal intervals, so Mann-Whitney is the more appropriate test even before checking normality.

Reported as: a U statistic, alongside a z-score and p-value for larger samples.

Wilcoxon Signed-Rank Test (≈ Paired-Samples t-Test)

Use it when: comparing two related measurements from the same subjects — before/after, pre/post-intervention — and the differences between pairs aren’t normally distributed.

What it does: calculates the difference for each pair, ranks the absolute differences, then checks whether positive or negative differences dominate the rank sums. Pairs with a difference of zero are typically dropped from the analysis.

Example: measuring anxiety scores in the same participants before and after an eight-week intervention, where the score differences are skewed rather than symmetric.

Don’t confuse this with: the Mann-Whitney U test. Wilcoxon signed-rank is for paired/related data; Mann-Whitney is for two independent groups. Mixing them up is one of the most common errors in applied stats writing.

Kruskal-Wallis Test (≈ One-Way ANOVA)

Use it when: comparing three or more independent groups on a continuous or ordinal outcome, and one-way ANOVA’s assumptions aren’t satisfied.

What it does: extends the same ranking logic as Mann-Whitney across more than two groups, testing whether the rank sums differ more than would be expected by chance.

Example: comparing customer satisfaction ratings (ordinal, 5-point scale) across four different store locations.

Important caveat: a significant Kruskal-Wallis result tells you that at least one group differs from the others — it doesn’t say which ones. Following up with pairwise comparisons (commonly Dunn’s test, with a correction for multiple comparisons such as Bonferroni) is the standard next step, exactly as a significant ANOVA is typically followed by post-hoc tests.

Friedman Test (≈ Repeated-Measures ANOVA)

Use it when: comparing three or more related measurements — the same subjects measured under three or more conditions, or at three or more time points — and repeated-measures ANOVA’s assumptions aren’t met.

What it does: ranks the conditions within each subject, then tests whether the rank patterns are consistent across subjects rather than random.

Example: rating the same group of participants’ stress levels at four points during an eight-week program.

Follow-up: similar to Kruskal-Wallis, a significant Friedman result needs pairwise follow-up (commonly the Wilcoxon signed-rank test with a correction for multiple comparisons) to identify which specific time points or conditions differ.

Non-Parametric Doesn’t Mean Assumption-Free

“Distribution-free” is a bit of a misleading label. These tests drop the normality assumption, but they still carry a few of their own, and skipping them is a common source of misinterpreted results.

  • Independence of observations still matters. Every non-parametric test on this list assumes each data point (or each pair, for Wilcoxon and Friedman) is independent of the others — the same requirement parametric tests carry.
  • Similar distribution shape between groups, for Mann-Whitney and Kruskal-Wallis specifically, matters for interpretation. If both groups have roughly the same-shaped distribution, a significant result can be read as a difference in medians. If the shapes differ substantially (one skewed left, one skewed right, for instance), the test is still valid, but the correct interpretation narrows to “the distributions differ” rather than “the medians differ” — a distinction worth getting right when writing up results.
  • Ties in the data (multiple observations with the exact same value) reduce the precision of rank-based tests slightly. Most statistical software applies a standard correction automatically, but it’s worth knowing ties are handled, not ignored.

A Worked Example

Say a researcher is comparing recovery time (in days) after two different physical therapy protocols, with 12 patients in each group. Recovery time data is classically right-skewed — most patients recover in a fairly tight window, but a handful take much longer — and a Shapiro-Wilk test confirms the data departs significantly from normality in both groups.

Rather than transforming the data or defaulting to a t-test anyway, the researcher runs a Mann-Whitney U test. Both groups show a similar right-skewed shape on inspection, so a significant result can be interpreted as a difference in median recovery time. The test returns U = 28, p = .012, with a rank-biserial correlation of 0.44 as the effect size — a moderate-to-large effect. The write-up reports that Protocol B was associated with significantly shorter recovery times than Protocol A (Mdn = 9 days vs. Mdn = 14 days), U = 28, p = .012, r = .44 — median and effect size included, not just the p-value, and “median” rather than “mean” throughout, since that’s what the test actually evaluated.

A Quick Decision Table

SituationParametric TestNon-Parametric Equivalent
Two independent groupsIndependent-samples t-testMann-Whitney U
Two related/paired measurementsPaired-samples t-testWilcoxon signed-rank
Three+ independent groupsOne-way ANOVAKruskal-Wallis
Three+ related measurementsRepeated-measures ANOVAFriedman
Association between two variablesPearson correlationSpearman correlation

Running These Tests in Practice

In SPSS, all four tests are available under Analyze > Nonparametric Tests > Legacy Dialogs, with dedicated menus for two independent samples, two related samples, K independent samples, and K related samples. SPSS’s newer “Nonparametric Tests” dialog (under the same top-level menu, without “Legacy Dialogs”) offers an automated version that picks a test based on your data, though most researchers writing up methods sections still use the legacy dialogs for direct control over which test runs.

In R, the base stats package covers all four directly: wilcox.test() handles both Mann-Whitney (for independent samples) and Wilcoxon signed-rank (for paired samples, using the paired = TRUE argument) — a naming quirk worth knowing, since the same function name covers two different tests depending on the arguments. kruskal.test() runs Kruskal-Wallis, and friedman.test() runs the Friedman test.

Whichever software you use, report the test statistic, degrees of freedom (where applicable), p-value, and — increasingly expected in published work — an effect size (such as rank-biserial correlation for Mann-Whitney, or epsilon-squared for Kruskal-Wallis), since a p-value alone doesn’t convey how large the observed difference actually is.

Common Mistakes

  • Defaulting to non-parametric tests without checking. Some researchers reach for non-parametric tests reflexively to “play it safe,” but this sacrifices statistical power unnecessarily when the parametric assumptions are actually met. Check first; don’t assume.
  • Confusing paired and independent versions. Wilcoxon signed-rank and Mann-Whitney U are not interchangeable — using the wrong one for your study design invalidates the result.
  • Stopping at a significant Kruskal-Wallis or Friedman result. Both only tell you that a difference exists somewhere among the groups; without post-hoc pairwise tests, you can’t say where.
  • Reporting a non-parametric result as if it were about means. Since these tests are generally testing distributions or medians, describing a Mann-Whitney result as “Group A had a significantly higher mean than Group B” is usually inaccurate — “significantly higher scores” or “significantly higher median” is the more defensible phrasing.
  • Ignoring effect size. A large sample can make a trivial difference statistically significant. An effect size puts the result in context.

Quick-Reference Checklist

  1. Identify your data type: ordinal, or continuous with uncertain normality/small sample/heavy skew
  2. Confirm your study design: independent groups, or paired/repeated measurements
  3. Match to the right test using the decision table above
  4. Run the test in SPSS (Legacy Dialogs) or R (wilcox.test(), kruskal.test(), friedman.test())
  5. If comparing 3+ groups and the result is significant, run the appropriate post-hoc pairwise test with a correction for multiple comparisons
  6. Report the test statistic, p-value, and an effect size
  7. Describe the result in terms of distributions or medians, not means

Related Reading

This guide pairs naturally with the site’s existing coverage: see T-Test, ANOVA, and Chi-Square Explained for the parametric side, How to Choose the Right Statistical Test for the broader decision framework, and What Is SPSS? for software basics.

Sources

About the Author

Dr. Madhuri Kanojiya is a researcher, author and educator with a PhD in Computer Science and Management. She is the Founder and Director of Empire Research Press — an independent international publisher and research consultancy based in Goa, India. She writes on research methodology, AI adoption, cloud computing, organisational systems and academic publishing.

  • Google Scholar: https://scholar.google.com/citations?user=67en4MwAAAAJ&hl=en
  • ORCID: https://orcid.org/0000-0003-1499-6112
  • ResearchGate: https://www.researchgate.net/profile/Madhuri-Kanojiya
MK
About the Author
Dr. Madhuri Kanojiya

Dr. Madhuri Kanojiya is a researcher, author and educator with a PhD in Computer Science and Management. She is the Founder and Director of Empire Research Press — an independent international publisher and research consultancy based in Goa, India. She writes on research methodology, AI adoption, cloud computing, organisational systems and academic publishing.

Published
14 August 2026
Last Updated
17 August 2026
Publisher
Empire Research Press
Category
Data Analysis & Statistics

Empire Research Press also offers private, by-enquiry research and publishing advisory for readers who want one-to-one guidance on a specific project.

Flag Counter