Function compute::statistics::sample_var[][src]

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

Calculates the sample variance from an array of data points in a numerically stable manner using the Welford algorithm.