pub fn variance(&self) -> f32 {
        if self.count > 0 {
            let moment1 = self.sum_power1 / (self.count as f32);
            let moment2 = self.sum_power2 / (self.count as f32);
            moment2 - moment1 * moment1
        } else {
            0.0
        }
    }
/// Variance of the numeric data that produced this summary
Variance of the numeric data that produced this summary
Variance of the numeric data that produced this summary
pub fn variance(&self) -> f32 {
        if self.count > 0 {
            let moment1 = self.sum_power1 / (self.count as f32);
            let moment2 = self.sum_power2 / (self.count as f32);
            moment2 - moment1 * moment1
        } else {
            0.0
        }
    }
pub fn variance ( & self ) -> f32 { if self . count > 0 { let moment1 = self . sum_power1 / ( self . count as f32 ) ; let moment2 = self . sum_power2 / ( self . count as f32 ) ; moment2 - moment1 * moment1 } else { 0.0 } }
Variance of the numeric data that produced this summary
Variance of the numeric data that produced this summary
&self
&self