Skip to main content

ks_test_two_sample

Function ks_test_two_sample 

Source
pub fn ks_test_two_sample(x: &[f64], y: &[f64]) -> f64
Expand description

Two-sample Kolmogorov-Smirnov statistic between empirical distributions of x and y.

Returns the KS distance D = max |F_x(t) − F_y(t)| over all t.