ToolJovia
Math

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.

✓ Browser-local processing

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.

  1. Enter model json (schema and units below).
  2. Choose the stated convention and check the units and supported model.
  3. 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 →