Skip to main content

coefficient_of_variation

Function coefficient_of_variation 

Source
pub fn coefficient_of_variation(data: &[f64]) -> f64
Expand description

Coefficient of variation CoV = σ / |μ|.

Returns f64::INFINITY when the mean is zero.