Test for change between two related measurements without assuming normally distributed differences.
The Wilcoxon Signed-Rank Test is the nonparametric alternative to the paired samples t-test. It is used when you have two related measurements (before/after, matched pairs) but the distribution of difference scores is not sufficiently normal — particularly with small samples. Instead of testing whether the mean difference is zero (as the paired t-test does), the Wilcoxon test ranks the absolute differences, assigns signs based on direction, and tests whether positive and negative ranks are equally distributed.
The test is commonly used in clinical research with small patient samples, in psychology when Likert-scale data before and after an intervention cannot be assumed to be normally distributed, and in any study using ordinal pre-post measurements. For example, a pharmacologist might compare pain scores before and after a drug treatment in a small pilot study, or an educator might compare student rankings on a writing rubric before and after feedback.
StatRyx computes the W-statistic (sum of signed ranks), the exact or asymptotic p-value, the rank-biserial correlation r as an effect size, and the median difference with its 95% confidence interval — all formatted in APA 7 notation, including appropriate descriptive statistics (median and IQR).
| Measure | Median | IQR | W | z | p | r |
|---|---|---|---|---|---|---|
| Pre-intervention | 61 | 54–69 | 287 | 4.11 | < .001 | .58 |
| Post-intervention | 72 | 65–80 |
A Wilcoxon signed-rank test indicated that scores on the work engagement scale were significantly higher after the mindfulness intervention (Mdn = 72, IQR = 65–80) than before (Mdn = 61, IQR = 54–69), W = 287, z = 4.11, p < .001, r = .58.
Yes. You can run it without an account (3 free analyses), and a free account adds 10 more — a one-time allowance, no payment needed. Every result includes the APA 7 write-up. Paid plans (Student from $9/month) add more analyses and Word, PDF and Excel export.
No coding required. Describe your two related measurements in plain English and StatRyx handles everything from computing difference scores to formatting the final result.
The Wilcoxon test can be applied to very small samples (as few as 6 pairs using exact tables). For adequate power to detect a medium effect (r = 0.3) at 80% power, you need approximately 55 pairs. Exact p-values are used for small samples; asymptotic approximations for larger ones.
The rank-biserial correlation r is an effect size for the Wilcoxon test, ranging from −1 to +1. Values of .10, .30, and .50 are small, medium, and large effects. It represents the degree to which post-scores tend to exceed pre-scores across all pairs.
The sign test only counts how many pairs show positive versus negative change, ignoring magnitude. The Wilcoxon Signed-Rank test also accounts for the size of each difference by ranking the absolute differences — making it more powerful than the sign test when the data truly have ordinal information about magnitude.
Run a Wilcoxon Signed-Rank Test on your data →