Wilcoxon Signed-Rank Test Calculator

Run a Wilcoxon signed-rank test on two paired samples to check whether the median of the differences is zero. It returns the positive and negative rank sums and a p-value.

1 Paste your text and pick the options

2 Your answer

Your answer shows here as you type.

How to use the Wilcoxon Signed-Rank Test Calculator

  1. Enter the first and second sample as paired values, in the same order, separated by commas or spaces.
  2. Choose the alternative hypothesis that matches your question.
  3. Set the significance level, then read the p-value. If it is below alpha, the result is significant.

Frequently asked questions

What is the Wilcoxon signed-rank test used for?

It tests whether paired measurements differ in a consistent direction. It ranks the absolute differences instead of using the raw values, so it is the nonparametric alternative to the paired t-test.

How are pairs with no difference handled?

Pairs where the two values are exactly equal are dropped before ranking, so n counts only the non-zero differences.

When is the p-value exact?

For up to 50 non-zero pairs with no tied absolute differences, every possible sign assignment is counted. Otherwise a normal approximation is used, with a continuity correction and a correction for ties.

What do W+ and W- mean?

W+ is the sum of the ranks of positive differences and W- is the sum of the ranks of negative differences. Together they add up to n(n+1)/2. A very small W+ or W- suggests the differences mostly point in one direction.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.