Skip to main content

ks_test

Function ks_test 

Source
pub fn ks_test(data: &[f64], cdf: impl Fn(f64) -> f64) -> (f64, f64)
Expand description

Kolmogorov-Smirnov test against a theoretical CDF. Returns (D-statistic, approximate p-value).