Struct average::Moments4[][src]

pub struct Moments4 { /* fields omitted */ }

Estimate the first N moments of a sequence of numbers a sequence of numbers ("population").

Methods

impl Moments4
[src]

Create a new moments estimator.

Determine whether the sample is empty.

Return the sample size.

Estimate the mean of the population.

Returns 0 for an empty sample.

Estimate the pth central moment of the population.

Estimate the pth standardized moment of the population.

Calculate the sample variance.

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

Calculate the sample skewness.

Calculate the sample excess kurtosis.

Add an observation sampled from the population.

Trait Implementations

impl Debug for Moments4
[src]

Formats the value using the given formatter. Read more

impl Clone for Moments4
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Merge for Moments4
[src]

impl Default for Moments4
[src]

Returns the "default value" for a type. Read more

impl FromIterator<f64> for Moments4
[src]

Creates a value from an iterator. Read more

impl<'a> FromIterator<&'a f64> for Moments4
[src]

Creates a value from an iterator. Read more

Auto Trait Implementations

impl Send for Moments4

impl Sync for Moments4