Non-parametric Methods · SIGN-1S

Sample Size for Testing One Population Median Using the Sign Test

Find the minimum non-tied observations for an exact one-sample sign test of a hypothesised population median.

1. Planning setup

Choose a direct sign probability or derive it from a Normal location shift.

2. Information obtained from previous study / literature

Used in hypothesis and protocol wording; it does not enter the calculation.

Among non-tied observations.

3. Information decided by the researcher

Tests whether the probability above the hypothesised median differs from 50%.

4. Results

Enter the hypothesis-test assumptions and select Calculate.

Formula, assumptions, limitations, and methodological note

Example clinical scenario

A hospital wants to test whether its median emergency-department waiting time differs from a 120-minute service benchmark using a one-sample sign test.

Formula and methodological note

The exact sign statistic is S = Σ I(Xᵢ > m₀), conditional on non-tied observations. Under the null, S follows Binomial(n, 0.5). The calculator enumerates each integer n and uses exact equal-tail rejection regions for two-sided tests.

The sign test is distribution-free under the null after conditioning on non-tied observations, but planning requires a specific alternative sign probability. Exact observations equal to the hypothesised median are excluded. The exact binomial test is conservative because attainable type I error is discrete.

For the Normal-shift option only, p₁ = Φ(Δ/SD) translates a planned median difference into a sign probability; the analysis remains an exact sign test. It is not a Wilcoxon signed-rank test and does not use ranks or distances.

Realised power may be lower when the observed exact-tie rate or non-response/incomplete-outcome rate exceeds the planning value. A sign probability close to 50% represents a small effect, so the required sample is sensitive to small changes in that assumption.

These tools support research planning and do not replace statistical consultation.

Method references

  1. Hollander M, Wolfe DA, Chicken E. Nonparametric Statistical Methods. 3rd ed. Wiley; 2014.
  2. Conover WJ. Practical Nonparametric Statistics. 3rd ed. Wiley; 1999.
  3. Lehmann EL, D'Abrera HJM. Nonparametrics: Statistical Methods Based on Ranks. Springer; 2006.
  4. Wan X, Wang W, Liu J, Tong T. Estimating the sample mean and standard deviation from the sample size, median, range and/or interquartile range. BMC Medical Research Methodology. 2014;14:135. doi:10.1186/1471-2288-14-135.

Suggested citation

Yaacob, Najib Majdi. “Sample Size for Testing One Population Median Using the Sign Test (SIGN-1S).” Web calculator. NajibMY, 2026. Accessed July 29, 2026. https://najibmy.netlify.app/tools/sample-size/testing-one-population-median-sign-test/.