Overview

Use a nonparametric test when your data are ranks or scores (for example, preference rankings or pain scores), or when they don’t meet the assumptions of a parametric test, such as normality (for example, strongly skewed reaction times).

Nonparametric tests make fewer assumptions about the underlying distribution, and they work with ranks or simple scores as well as precise measurements.

Most have a parametric equivalent: the Mann–Whitney U test for the two-sample t test, the Wilcoxon paired-sample test for the paired t test, the Kruskal–Wallis and Friedman tests for one-way and repeated measures ANOVA, and Spearman rank correlation for Pearson correlation.

A histogram of frequency against value that is strongly skewed to the right, with a normal curve of the same mean and standard deviation drawn over it that fits the bars poorly.
Skewed data that a normal distribution fits poorly.

Methods

  • Friedman test
  • Kruskal–Wallis test
  • Mann–Whitney U test (one- and two-tailed)
  • Mood's median test
  • Sign test, including its use as the Cox and Stuart trend test, pattern test and correlation (sign) test
  • Spearman rank correlation
  • Wald–Wolfowitz runs test
  • Wilcoxon paired-sample (signed-rank) test, including the test for symmetry

Running the analysis

Click Nonparametric Tests on the statistiXL ribbon and choose a test. In the dialog, select your input ranges and output location, choose one- or two-tailed testing where the test allows it, and set any options.

The Nonparametric Tests button on the statistiXL ribbon with its menu open, listing Friedman Test, Kruskal-Wallis Test, Mann-Whitney Test (highlighted), Mood Median Test, Sign Test, Spearman Rank Correlation, Wald-Wolfowitz Runs Test and Wilcoxon Paired-Sample Test.
The Nonparametric Tests menu on the statistiXL ribbon.
The Spearman Rank Correlation dialog, with boxes for the Set 1 and Set 2 ranges, a Tails list set to 2-Tailed test, a Labels in First Row option, an output range, a descriptive statistics option, and the QuickHelp pane on the right.
The Spearman Rank Correlation dialog, with QuickHelp on the right.

What the output includes

The output varies with the test. It typically includes:

  • Descriptive statistics, with each value and its rank, and medians and sums (optional)
  • Counts, for tests based on them
  • The test statistic (such as U, χ² or Z), with degrees of freedom where they apply
  • Whether the test is one- or two-tailed, and the P value
Mann-Whitney test output in Excel comparing trained and untrained groups. Descriptive statistics list each value and its rank, with medians, sums and counts (8 and 7), followed by a one-tailed test (Trained > Untrained) with U of 47.500 and P of 0.014.
Output from a one-tailed Mann–Whitney test.