Loading…

The Sign Test

Statistics • Nonparametric Methods

View all topics

The Sign Test

Test a median (one-sample) or median of paired differences using only signs (+/−).

Ready

Mode & hypotheses

For paired mode, m₀ is the hypothesized median of differences (often 0).
If you choose 0.5, the exact binomial p-value still uses the standard “drop ties” n.
Tip: The test uses signs of differences: + if (value − m₀) > 0, − if < 0, tie if = 0.

Data

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does the sign test measure in statistics?

The sign test checks whether the population median equals a hypothesized value m0 using only the direction of deviations (plus or minus). In paired mode, it tests whether the median of paired differences equals m0, often 0.

How is the sign test p-value computed?

After dropping ties, the number of plus signs X is modeled as Bin(n, 0.5) under the null hypothesis. The p-value is the appropriate binomial tail probability based on the chosen alternative (two-sided, right-tailed, or left-tailed).

What should I do with ties (differences equal to 0) in the sign test?

The standard exact sign test drops ties, so ties do not count toward the effective sample size n. This calculator also lets you count ties as 0.5 for effect summaries, while the exact binomial p-value still uses the drop-ties n.

When is the normal approximation used for the sign test?

For larger n, the binomial distribution can be approximated by a normal distribution to estimate a p-value more quickly. The calculator reports both the exact binomial p-value and the normal approximation so you can compare them.

What is p-hat and the exact binomial confidence interval shown by the calculator?

p-hat is the proportion of plus signs among non-ties, computed as p-hat = n-plus / n. The optional confidence interval is an exact binomial interval for the underlying probability of a plus sign under the same drop-ties model.