Exact Small-sample Rank Inference
Build conditional rank-sum or paired signed-rank distributions with exact tied midranks and explicit inclusive tails.
Loading tool…
How to use Exact Small-sample Rank Inference
Double average ranks to retain ties as integers. Dynamic programming counts every fixed-size label allocation for Mann–Whitney or every sign allocation after removing paired zero differences. The displayed two-sided probability is twice the smaller inclusive tail, capped at one.
- Enter model json (schema and units below).
- Choose the stated convention and check the units and supported model.
- Calculate, inspect the result, then copy or download it.
Good to know
- Plain decimal JSON numbers or strings, at most six fractional places, magnitude at most 1,000,000,000; raw numeric spellings and duplicate object members are checked. Exact rational arithmetic is capped at 8,192 bits. Text is at most 30,000 characters; a local JSON download preserves exact fractions or full stored approximate numbers. Mann–Whitney: 1–15 observations per group. Signed rank: 1–24 equal-length pairs. These are exact conditional randomization distributions under exchangeability or sign symmetry, not proof that distributions or medians alone agree; no continuity correction or asymptotic fallback.
- Local calculation only; no input persistence or external lookup. Text/JSON is limited to 30000 characters and output to 1000000 characters. Numeric model inputs and precision/work limits are stated on this page. Approximate JSON numbers retain full stored values; exact arithmetic outputs retain decimal or fraction strings. Unsupported states fail explicitly.
Common questions
Are equal observed values discarded?
No. Ties receive exact average ranks. Only zero paired differences are removed from the signed-rank model.
Is the input uploaded or saved?
No. The tool calculates inside this browser tab and provides a local download; it does not persist your input.
Keep going with related tools
All math →Student t Mean Comparison Workbench
Compare a sample mean, paired differences or independent Welch means with explicit t-model uncertainty.
MathExhaustive Mean Permutation Comparison
Enumerate every small fixed-group label assignment and count exact inclusive mean-difference tails.
MathTwo-sample ECDF and Exact KS Review
Compare two empirical distribution steps and count the exact continuous-null two-sided KS tail for small untied samples.
MathOne-way ANOVA Decomposition
Compare independent group means while retaining exact within/between sums of squares and an explicit F model.