pub fn winsorized_mean(values: &[f64], proportion: f64) -> Option<f64>Expand description
Winsorized mean: clamp the lowest/highest proportion of the data to the
boundary values (rather than dropping them), then average. None if empty or
out of range.