Skip to main content

kendall

Function kendall 

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

Kendall’s correlation (concordant−discordant over total pairs). O(n²), no allocation. None if the lengths differ or n < 2; Some(0.0) if no pairs differ.