pub fn cramervonmises_2samp(
x: &[f64],
y: &[f64],
method: CvmMethod,
) -> Result<TestResult, ErrorsJSL>Expand description
The two-sample Cramér-von Mises test (SciPy’s cramervonmises_2samp), from the average
ranks: U = n_x Σ (r_i − i)² + n_y Σ (s_j − j)² and T = U/(n_x n_y N) − (4 n_x n_y − 1)/(6N),
with an exact p-value (lattice-path counting) or the asymptotic one after standardising T.