When to use it
You want to test a median against a value, or whether paired measurements tend to go up or down, assuming as little as possible: no normal shape and no symmetry. Each value only has to be above or below the hypothesized median.
When not to: When the differences are roughly symmetric (the Wilcoxon signed-rank test uses their sizes and has more power), when the mean is the question (use the one-sample or paired t-test), or with five or fewer values (no two-sided result can reach p < .05).
Step by step
Open it from the menu
Click Analyze in the menu bar; under Nonparametric choose Sign Test.
Fill in the form
Choose the columns: What you measured, Second measurement (optional). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: How strict to be, What you expect, Median to compare with. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| What you measured Var1 required | One numeric or ordered categorical column. A number or ordered column, such as delivery time in minutes. Alone, its median is compared with the value typed below. |
|---|---|
| Second measurement (optional) Var2 | One numeric or ordered categorical column. The paired number for the same row, such as the score after training. The test then counts which of the two was higher. |
| How strict to be Alpha | The cut-off for the p-value. Below it, the card reports evidence of a difference; a smaller cut-off is stricter. Not sure? Keep 0.05. It is the usual convention in most fields. |
| What you expect Alternative | two-sided: different from the value in either direction. less: lower than it. greater: higher. Choose a direction only if decided beforehand. Not sure? Keep two-sided. It is the usual choice because it does not assume a direction. |
| Median to compare with Hypothesized median (m₀) | The median your question is about, such as a promised 30 minutes. With two measurements, the difference to test against. Not sure? Keep 0 for two measurements: it asks whether they differ. For one column, type your value. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
A worked example
Penguin body mass (342 birds with a value), m₀ = 4000 g, two-sided, α = 0.05.
Result: 172 above, 165 below, 5 equal to 4000 (left out); S = 172 of n = 337, exact binomial p = 0.7438; median 4050 g, 95.47% interval 3900 to 4200 g.
No clear evidence that the median body mass differs from 4000 g; medians from 3900 to 4200 g remain compatible with the data.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Is the median delivery time different from the 30 minutes we promise? Did more patients improve than got worse after the change?
- Explain the sign test (one median, or paired data) in plain words.
- What does misconception: the Mann-Whitney/Wilcoxon test always compares medians mean?
Last reviewed November 16, 2026.
