Struct average::Skewness [] [src]

pub struct Skewness { /* fields omitted */ }

Estimate the arithmetic mean, the variance and the skewness of a sequence of numbers ("population").

This can be used to estimate the standard error of the mean.

Methods

impl Skewness
[src]

Create a new skewness estimator.

Add an observation sampled from the population.

Determine whether the sample is empty.

Estimate the mean of the population.

Returns 0 for an empty sample.

Return the sample size.

Calculate the sample variance.

This is an unbiased estimator of the variance of the population.

Calculate the population variance of the sample.

This is a biased estimator of the variance of the population.

Estimate the standard error of the mean of the population.

Estimate the skewness of the population.

Merge another sample into this one.

Trait Implementations

impl Debug for Skewness
[src]

Formats the value using the given formatter.

impl Clone for Skewness
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromIterator<f64> for Skewness
[src]

Creates a value from an iterator. Read more