Skip to main content

spearman

Function spearman 

Source
pub fn spearman(x: &[f64], y: &[f64]) -> Result<Correlation, ErrorsJSL>
Expand description

Spearman’s rank correlation (Pearson’s on average ranks), with the same t approximation for the p-value. Measures any monotone association.