Sign Test (paired, direction-only)
VerifiedNonparametric
Bring your own data and open the guided workspace: variable setup, assumption diagnostics, results with effect sizes and confidence intervals, figures, and APA-ready reporting.
Use your own dataset
Loading your datasets…
No data of your own? Try this test on a free teaching dataset →
Tests whether the median paired difference is zero by counting the proportion of positive vs negative paired differences and comparing to the binomial(n_nonzero, 0.5) null.
Discards the magnitude of differences entirely — only their sign is used. The most assumption-light paired test available: requires only that paired observations are independent across pairs and the null is symmetric in direction. Apt when the difference distribution is wildly non-normal AND the Wilcoxon signed-rank's symmetry assumption is also untenable.
Worked example
Do more people prefer version B over version A?
24 people tried both versions. The sign test counts only who preferred which (direction), ignoring by how much — useful when magnitudes aren't meaningful.
18 of 24 preferred version B and 6 preferred A; the sign test gives p = .023 — a significant majority for B.
A sign test showed a significant preference for version B (18 of 24 favouring B), p = .023.
Try it yourself: Load this ready-made sample and follow the run above.
When to use it
- Paired ordinal or severely skewed continuous DV30 patients rate symptom severity on a 5-point Likert scale before and after a single dose of an experimental analgesic.
- Matched-pair directional outcome (preference / improvement)60 wine-tasters compare two vintages and report which they prefer.
When NOT to — use instead
- Two independent groupsSign test is paired by construction — it requires within-pair differences. → Mann-Whitney U
- Paired continuous DV with symmetric differencesWilcoxon signed-rank is more powerful — uses both sign AND magnitude — when the symmetry assumption holds. → Wilcoxon Signed-Rank
- 3+ related conditionsSign test is a 2-condition paired test. → Friedman Test (non-parametric RM)
- Paired binary outcome (2×2 agreement)McNemar's exact test is the canonical paired-binary test (essentially a sign test on discordant pairs only) with the right framing. → Exact McNemar's Test (small-sample binary paired)
Hypotheses
Parameter tested: P(v1 > v2) — probability that measurement 1 exceeds measurement 2 on a randomly chosen pair
Assumptions (and what to do if they fail)
Check: Count pairs with v1 ≠ v2.
If violated: Too few non-zero pairs leave the sign test with almost no power.
Check: tie_ratio ≤ 10% → negligible; 10–25% → declare the power loss; 25–50% → the test is running on a remnant and inference is weak; > 50% → the paired-difference distribution is zero-inflated and the sign
If violated: Many tied pairs erode the effective sample size and may hide a ceiling/floor effect.
Ready to run a Sign Test (paired, direction-only) on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →