Two-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.
Loading tool…
How to use Two-sample ECDF and Exact KS Review
Merge ordered observations and measure the largest CDF gap on an exact n×m integer grid. A lattice-path dynamic program counts assignments staying strictly inside that observed boundary; its complement gives the inclusive exact tail.
- 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. 1–100 observations per group. Pooled ties are explicitly refused because this tail model assumes continuous distributions. No parameter fitting, discrete-null correction, one-sample fit or automatic compatibility conclusion.
- 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
Why are ties refused here when rank tests accept them?
The implemented KS null distribution is the untied continuous model. A tied or discrete null needs a separately specified distribution rather than a silently reused tail.
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 →Exact Small-sample Rank Inference
Build conditional rank-sum or paired signed-rank distributions with exact tied midranks and explicit inclusive tails.
MathNormal Q-Q Plot Workbench
Plot ordered observations against normal quantiles and export positions, reference values and residuals.
MathHistogram Bin and Frequency Calculator
Build a downloadable frequency distribution using manual edges or a named bounded bin rule.