Toolstia / Wilcoxon signed-rank test calculator

Wilcoxon signed-rank test calculator

The Wilcoxon signed-rank test is the rank based alternative to the paired t-test. Enter the before and after values in the same order to find out whether they differ.

The Wilcoxon signed-rank test compares two paired measurements, such as before and after, without assuming normal differences. Pairs with no change are dropped, the other differences are ranked by size, and the ranks of the positive and negative changes are compared. With 25 pairs or fewer and no ties the exact p-value is used. Otherwise the normal approximation with tie and continuity corrections is used.

How it works

  1. Paste the first measurements into the first box.
  2. Paste the second measurements, in the same order, into the second box.
  3. Read W+, W-, the test statistic and the p-value.

How it works

The difference for each pair is calculated, pairs with no change are dropped, the rest are ranked by size, and the ranks of the positive and negative changes are added up.

Exact or approximate

With 25 pairs or fewer and no ties the exact p-value is used. Otherwise the normal approximation with tie and continuity corrections is used. The tool tells you which one it used.

When to use it

Use it for before and after data, matched pairs and repeated measures when the differences are not normally distributed.

Direction

The median difference shows whether the first measurement tends to be higher or lower than the second.

Questions

Is my data uploaded?

Everything happens in your browser, and nothing you enter is sent anywhere.

Do both lists need the same length?

Yes, because each value is paired with the one in the same position.

Is the test two sided?

Yes. It tests whether the two measurements differ in either direction.