The sign test is a non-parametric test for paired data: it counts how many pairs go one way versus the other and tests whether that split is more skewed than 50-50 by chance. It is simpler and more robust than a paired t-test when the data are ordinal, ranked, or strongly skewed, but it ignores the size of the differences and uses less information.
What you need before you write a single word
- The number of pairs that go in each direction (e.g., "higher" vs "lower", "yes" vs "no", "improved" vs "worsened").
- The count of ties (pairs with no change). The sign test excludes ties.
- N: the total pairs without ties (count in direction 1 + count in direction 2).
- The count in the majority direction (X): call this the statistic.
- The exact p value from a binomial test (two-sided unless you are testing one direction).
- What the direction means: "lower", "improved", "agreed", etc.
The APA 7 format template
[Outcome] [direction] in X of N pairs, sign test [p value, e.g., p = .012 or p < .001]. [Additional detail if needed: pattern of change, effect size.]
Want to see it written from data? Run this test on sample data in KyroStat: free, no file needed, and it does not use your free tests.
Formatting rules reviewers check:
- Italicize X, N, p and z.
- Report the count in the majority direction and the total pairs, not percentages.
- Exact p to three decimals; below .001, write p < .001.
- Describe the direction: say what "higher" or "lower" means in context, not just the counts.
- Do not write "Sign test: X = 18, N = 19, p < .001" in formal APA text; that is SPSS output style. Use running text instead.
A worked example
A mindfulness intervention study measured 20 participants' self-reported stress on a 0–100 scale before and after the program. One participant had the same score before and after (a tie); the other 19 had either higher or lower scores. 18 of 19 had lower (less stressed) post-intervention scores, and 1 had a higher score. The sign test asks: would we expect 18 out of 19 to go the same way by pure chance? No. The two-sided exact binomial p = .00008 (p < .001).
Write it:
Perceived stress decreased after the intervention: 18 of 19 participants reported lower stress after the mindfulness program (p < .001, sign test). One participant reported higher stress, and one was unchanged.
The sentence names the direction, gives the count and total, and reports the p value. If the minority direction or ties are notable (e.g., "one worsened" is interesting in a clinical context), name them.
Sign test vs paired t-test
| Situation | Use | Why |
|---|---|---|
| Normally distributed paired data | Paired t-test | More powerful; uses information about magnitude. |
| Ordinal data (ranks, categories) | Sign test | Avoids assuming continuous scores. |
| Severely skewed differences | Sign test | Robust to outliers. |
| Small samples | Sign test or paired t-test | Sign test is non-parametric; t-test is more powerful with n > 20. |
| Binary outcomes (yes/no, pass/fail) | McNemar's test | Paired yes/no outcomes form a 2×2 table; McNemar's test uses the pairs that changed. |
The sign test works with any data shape but is less powerful (larger p values) because it ignores magnitudes. Use it when the size of change is unknown or meaningless.
Mistakes reviewers catch
- Reporting percentages instead of counts. "90% of pairs went one way" is less clear than "18 of 19 participants improved". Give the counts.
- Missing the p value. The counts alone do not say whether the split is significant.
- Including ties in N. Ties are excluded from the sign test; N is the count of pairs with a direction.
- Misinterpreting a "significant" sign test. p < .001 means the split is very unlikely under the null (50-50), not that the effect is large. 18 of 19 is a large effect; 11 of 20 gives p = .824 (not significant), but 15 of 20 gives p = .041 (significant).
- Using sign test for data that fit a t-test. If the data are continuous and roughly normal, the paired t-test is more powerful.
Let KyroStat do the write-up for you
KyroStat computes the sign test from your paired data, reports the count, N, and the two-sided binomial p, and writes the sentence in APA 7. Upload your data, select the before-and-after columns, and the write-up is ready to copy.
Frequently asked questions
What if I want a one-sided test? One-sided sign tests are rare in APA journals. If you have a strong directional hypothesis, state it in advance and use a one-sided test, then report the one-sided p and note that it is one-sided (e.g., "p < .001, one-sided").
Can I report the effect size? The sign test does not produce a standard effect size like Cohen's d. Report the direction and the count (e.g., "in 18 of 19 pairs" is itself the effect). Some authors add the percentage or proportion to aid interpretation.
How many pairs do I need? Theoretically, the sign test works with n ≥ 1, but a two-sided test cannot reach p < .05 below n = 6. Smallest significant two-sided splits: n = 6 needs 6:0 (p = .0313), n = 10 needs 9:1 (p = .021), n = 20 needs 15:5 (p = .041), and 18:2 gives p = .0004. See a power table or run a simulation for your n.
What if most pairs are ties? If many differences are zero, ask why. In measurements, ties suggest a measurement resolution problem or a true absence of change. Report the number of ties and test only the non-tied pairs; if ties are common, consider mentioning them in a note.
Where do I find this in SPSS or R?
- SPSS: Analyze → Nonparametric Tests → Legacy Dialogs → 2 Related Samples, tick "Sign".
- R:
binom.test(x, n, p = 0.5, alternative = "two.sided")where x is the count in one direction and n is the total pairs without ties.
Related guides
- How to report a paired t-test in APA 7: parametric alternative when data are normally distributed.
- How to report Wilcoxon signed-rank test in APA 7: a non-parametric alternative that uses magnitude information.
- How to report McNemar's test in APA 7: for paired binary data (when the sign test is applied to 2×2 contingency tables).
- Which statistical test should I use?: choose among tests for paired data.