Trait average::Estimate[][src]

pub trait Estimate {
    fn add(&mut self, x: f64);
fn estimate(&self) -> f64; }
Expand description

Estimate a statistic of a sequence of numbers (“population”).

Required methods

fn add(&mut self, x: f64)[src]

Expand description

Add an observation sampled from the population.

fn estimate(&self) -> f64[src]

Expand description

Estimate the statistic of the population.

Loading content...

Implementors

impl Estimate for Kurtosis[src]

fn add(&mut self, x: f64)[src]

fn estimate(&self) -> f64[src]

impl Estimate for Max[src]

fn add(&mut self, x: f64)[src]

fn estimate(&self) -> f64[src]

impl Estimate for Mean[src]

fn add(&mut self, sample: f64)[src]

fn estimate(&self) -> f64[src]

impl Estimate for Min[src]

fn add(&mut self, x: f64)[src]

fn estimate(&self) -> f64[src]

impl Estimate for Quantile[src]

This is supported on crate features std or libm only.

fn add(&mut self, x: f64)[src]

fn estimate(&self) -> f64[src]

impl Estimate for Skewness[src]

fn add(&mut self, x: f64)[src]

fn estimate(&self) -> f64[src]

impl Estimate for Variance[src]

fn add(&mut self, sample: f64)[src]

fn estimate(&self) -> f64[src]

Loading content...