Test paired differences confidently. Review ranks, effect sizes, and significance. Explore matched sample changes using guided statistical steps.
| Pair | Before | After | Difference |
|---|---|---|---|
| 1 | 10 | 12 | 2 |
| 2 | 12 | 15 | 3 |
| 3 | 15 | 16 | 1 |
| 4 | 14 | 15 | 1 |
| 5 | 18 | 19 | 1 |
| 6 | 20 | 23 | 3 |
| 7 | 19 | 18 | -1 |
| 8 | 17 | 20 | 3 |
You can paste this example into the calculator to verify the workflow and compare the output against ranked paired differences.
The Wilcoxon signed rank test evaluates whether the median paired difference is zero. For each pair, compute the difference di = afteri − beforei.
Ignore zero differences when using the classic method. Rank the absolute nonzero differences from smallest to largest. When ties occur, assign the average rank.
Then compute:
For the normal approximation, this page calculates:
μW = n(n + 1) / 4
σW = √[n(n + 1)(2n + 1) / 24]
z = (W+ − μW − c) / σW
Here, c is the optional continuity correction. The calculator also reports an effect size using r = |z| / √n.
Use it for paired measurements when differences are not safely treated as normally distributed. It is common for before-and-after studies, repeated measures, and matched observational data.
The paired differences should come from a distribution that is roughly symmetric around the median. The observations must also be meaningfully paired and measured on at least an ordinal scale.
A zero difference has no sign and contributes no directional rank. Many implementations remove zeros, while some retain them in sample accounting through the Pratt approach.
A small p value suggests the paired differences are unlikely under the null hypothesis of zero median difference. It provides evidence of a systematic shift between paired values.
W+ sums positive ranks, W− sums negative ranks, and W is often the smaller of the two for two-sided testing. Together they show direction and magnitude of ranked change.
This implementation reports the normal approximation with optional continuity correction. That makes it practical for general use, especially when sample size is moderate or larger.
The effect size summarizes how strong the paired shift appears relative to sample size. Larger values suggest a stronger practical difference, not merely statistical significance.
Yes. The calculator accepts integers, decimals, and negative values. It ranks absolute paired differences, so the original sign only determines whether each rank contributes positively or negatively.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.