pub trait Estimate { // Required methods fn add(&mut self, x: f64); fn estimate(&self) -> f64; }
Estimate a statistic of a sequence of numbers (“population”).
Add an observation sampled from the population.
Estimate the statistic of the population.
std
libm