A simple test of whether the median differs from a target, using only whether each value is above or below it.
Common practice 3 steps Used by Process Improvement Specialist
What it is
The sign test checks whether the median differs from a target by counting values above and below it. If the median were the target, each value would be equally likely to fall either side.
When to use it
With very skewed data, ordinal data such as ratings, or when only the direction of each value can be trusted.
Why it works
It makes almost no assumptions, so it works on very skewed or ordinal data.
Do
Use it when only direction can be trusted.
Don't
Using it when distances are meaningful: it throws that information away and has low power.
Filled in for: 15 delivery times against a promise of 3 days.
Item
Value
Above, below or equal
Copy this structure, or print the blank version and fill it in by hand. Above ______ Below ______ p = 1 − BINOM.DIST(above − 1, above + below, 0.5, TRUE)
Before you use it: check these
Check
If it fails
Independent values
Use methods for related data
Only the direction is trusted
If distances are meaningful, the Wilcoxon test is more powerful
How to do it with real data
The full calculation, as it happens in the story: the data, every step, how to read the result, and the spreadsheet functions to do it yourself.
The sign test can't prove the median is above 7 with this sample (p = 0.14), because it ignores how far above or below each wait is. The Wilcoxon test uses those distances and shows clearly that it is (p = 0.0002).
What it led to
Use the Wilcoxon test when the data is roughly symmetrical around the median; use the sign test only when you can't trust the distances, for example with ratings. Here the conclusion matches the t-test.
Do it in a spreadsheet
Count above
=COUNTIF(B2:B61,">7")
Sign test p-value
=1-BINOM.DIST(32,57,0.5,TRUE)
Wilcoxon
rank =ABS(B2-7) with RANK.AVG, sum the ranks where B2>7; spreadsheets have no built-in p-value: use the normal approximation or a statistics add-on
Try it yourself: In another sample, 40 of 50 values are above the target and 10 below. Would the sign test show a difference?
Yes. 40 of 50 is far from 25 of 50: p = 1 − BINOM.DIST(39,50,0.5,TRUE), about 0.00001.
In the roles
How a Process Improvement Specialist uses it
Waits against 7 days: 33 above, 24 below, p = 0.14. Not enough on direction alone.