Wilcoxon Signed-Rank Test

Non-parametric alternative to the paired t-test. Compare two related measurements without assuming normality.

Please verify you are human to use the calculator.

About the Wilcoxon Signed-Rank Test

The Wilcoxon signed-rank test is a non-parametric test for comparing two related samples or repeated measurements on the same subjects. It is the distribution-free counterpart of the paired t-test. Instead of operating on the raw values, it works with the ranks of the absolute differences between pairs, which makes it robust to outliers and non-normal distributions.

The procedure computes the difference for each pair, discards zero differences, ranks the absolute differences (averaging ties), and then sums the ranks separately for positive and negative differences. The test statistic W is the smaller of these two sums. Under the null hypothesis of no systematic difference, W follows a known distribution that can be approximated by a normal distribution for larger samples.

The test assumes that the paired differences are independent and come from a symmetric distribution. This is a weaker assumption than normality but still meaningful—highly asymmetric difference distributions can bias the test. When the paired t-test assumptions hold, the Wilcoxon test has about 95% of its power. When they do not hold, the Wilcoxon test can be substantially more powerful.

A test result carries weight only when the hypothesis, the sample size and the decision rule were fixed before the data arrived. Every pilot we scope is built the same way, with success criteria and kill gates agreed in advance. That work is described under AI pilot design.

Related calculations

  • Paired t test: Use a paired t-test when the mean paired difference is the target and its assumptions are appropriate.
  • Mann whitney: Use Mann-Whitney for independent groups rather than matched observations.
  • Student t distribution: Contrast signed ranks with the t reference distribution used for a paired mean test.
  • Kruskal wallis: Use an independent-group rank procedure when there is no paired structure.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

Wilcoxon Signed-Rank Test FAQ

Common questions about the wilcoxon signed-rank test