Function statistics::moment::variance
[−]
[src]
pub fn variance(data: &[f64]) -> f64
Compute an estimate of the population variance from a finite sample.
The estimate is unbiased. The computation is based on the compensated-summation version of the two-pass algorithm.