Two-Sample Cramer-von Mises and Kuiper Tests
Two empirical distribution functions are compared over the whole range. The Cramer-von Mises statistic integrates their squared difference; Kuiper's statistic adds the largest positive and largest negative differences, so it is equally sensitive in the tails and in the centre.
두 표본의 경험적 분포함수를 전체 범위에서 비교합니다. 크라메르-폰 미제스 통계량은 두 함수 차이의 제곱을 적분하고, 카이퍼 통계량은 양의 최대 차이와 음의 최대 차이를 더하므로 꼬리와 가운데에 고르게 민감합니다.
Do two samples come from the same distribution, not just with the same mean or median?
두 표본이 평균이나 중앙값만이 아니라 분포 전체로 보아 같은 분포에서 나왔습니까?
The output gives Cramer-von Mises T with an exact or asymptotic p-value, Kuiper's V with an asymptotic p-value at Stephens' modified statistic, permutation p-values for both, and the Kolmogorov-Smirnov D for reference.
When to use Two-Sample Cramer-von Mises and Kuiper Tests
- You want to detect any difference in shape, spread or location between two samples.
- Differences may sit in the tails, where Kolmogorov-Smirnov has little power.
When to use something else
- Only a location shift matters: use Mann-Whitney U Test
- You need the classic maximum-distance test: use Two-Sample Kolmogorov-Smirnov Test
- You compare more than two samples: use k-Sample Anderson-Darling Test
Assumptions and requirements
- Independent samples
- Continuous data (ties make asymptotic p-values conservative)
What the analysis reports
- Cramer-von Mises T and p
- Kuiper V, D+ and D- and p
- Permutation p-values
How to report it
The two-sample Cramer-von Mises test gave T = [value], p = [value], and Kuiper's test V = [value], p = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Two-Sample Cramer-von Mises and Kuiper Tests on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a grouping variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.