Statistical Methods
Compare Distributions Across Their Full Empirical CDFs
Define the research task
Use the two-sample Cramér–von Mises statistic to summarize distribution differences across the pooled empirical CDF rather than only the largest gap. Potential differences include location, scale and shape. Independent samples and the measurement process matter. The statistic is not expressed in the original measurement units and is not a clinical importance threshold.
Work through the check
- Retain each group’s original labels and sort within groups.
- Form pooled midranks, averaging ties.
- Apply the pooled-rank statistic formula.
- Inspect an empirical CDF plot to understand where the differences occur.
- If conducting a test, separately document exact or asymptotic calibration and whether continuity assumptions are plausible.
The calculator only audits T. It deliberately supplies no p value, equivalence conclusion or automatic test selection. Rounded or discrete observations require extra care with calibration.
Hypothetical example and reporting
Hypothetical samples 1,2,3 and 4,5,6 have pooled ranks 1,2,3 and 4,5,6. Here U = 81 and T = 81/54 − 35/36 = 19/36, approximately 0.527778. The separated samples make the direction visually obvious, but T itself is nondirectional. A reporting statement should name the statistic and accompany it with the actual distributions, not translate it into a difference in means.
Source and verification
Method checked 26 November 2026 against SciPy primary documentation: stats.cramervonmises_2samp. Examples are synthetic; this page does not assert human expert approval.