Skip to content

Sign test

Test a paired-difference or one-sample median null by reducing non-tied observations to positive and negative signs and evaluating the positive count against its exact binomial distribution under a declared null probability, usually one half.

Version
v2 · 2026-08-30 · History
Domain-specific #
2779
Origin domain
statistics
Subdomain
nonparametric hypothesis testing

Core Idea

The sign test discards magnitude and counts the signs of independent nonzero differences; under the usual continuous null of no directional tendency or median difference zero, the positive count \(W\) has distribution \(\operatorname{Binomial}(m,1/2)\) after ties are omitted. each non-tied pair contributes one Bernoulli outcome determined only by direction; under the null, exchangeability or the median condition gives equal positive and negative probabilities, so an unusually imbalanced count supplies evidence against the null through calibrated binomial tails.

Scope of Application

Sign test applies when the analyst can specify independent paired differences or independent one-sample deviations from a declared median value, observed on at least an ordinal scale and establish that observations are independent across units, within-unit comparisons are meaningfully ordered, the null fixes sign probability, ties follow a declared rule, and the rejection probability is computed from the resulting sign-count distribution. This is descriptive statistical reference content, not an instruction to select a test without study-design, sampling, missingness, multiplicity, and domain-effect considerations.

Clarity

A clear claim names the carrier, governing rule, assumptions, and recognition test. This matters because sign test can refer to paired differences or a one-sample median formulation, and software packages can implement different two-sided exact p-value conventions. The disciplined statement is that the object counts as Sign test exactly when observations are independent across units, within-unit comparisons are meaningfully ordered, the null fixes sign probability, ties follow a declared rule, and the rejection probability is computed from the resulting sign-count distribution

Manages Complexity

The abstraction compresses paired sign test, one-sample median sign test, one- and two-sided forms, exact and normal-approximate calibration, randomized and conservative discrete tests, and tie-aware extensions into a stable carrier, rule, invariant, and failure boundary. It makes comparison tractable while retaining the variables that control validity.

Abstract Reasoning

  1. Type the carrier. Establish independent paired differences or independent one-sample deviations from a declared median value, observed on at least an ordinal scale and reject examples from a different problem. 2. Lock the rule. Express that observations are independent across units, within-unit comparisons are meaningfully ordered, the null fixes sign probability, ties follow a declared rule, and the rejection probability is computed from the resulting sign-count distribution independently of one notation or implementation.

Knowledge Transfer

Transfer within statistics is strong when new cases preserve the same carrier, mechanism, and diagnostic. The move from For ten paired measurements with eight positive and two negative differences and no ties, the two-sided exact sign-test p-value under a fair-sign null is twice the smaller binomial tail, with the discrete convention stated. to For a one-sample median test, subtract the hypothesized median from each observation, omit exact ties under the classical continuous rule, and test whether positive signs occur with probability one half. demonstrates that continuity.

Relationships to Other Abstractions

Local relationship map for Sign testParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Sign testDOMAINPrime abstraction: Hypothesis Testing (Null vs. Alternative) — is a kind ofHypothesis Test…PRIME

Current abstraction Sign test Domain-specific

Parents (1) — more general patterns this builds on

Neighborhood in Abstraction Space

Sign test sits in a sparse region of the domain-specific corpus (63rd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Statistical Dispersion & Testing (44 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-09-08