[][src]Struct average::Kurtosis

pub struct Kurtosis { /* fields omitted */ }

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

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

Methods

impl Kurtosis
[src]

pub fn new() -> Kurtosis
[src]

Create a new kurtosis estimator.

pub fn is_empty(&self) -> bool
[src]

Determine whether the sample is empty.

pub fn mean(&self) -> f64
[src]

Estimate the mean of the population.

Returns 0 for an empty sample.

pub fn len(&self) -> u64
[src]

Return the sample size.

pub fn sample_variance(&self) -> f64
[src]

Calculate the sample variance.

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

pub fn population_variance(&self) -> f64
[src]

Calculate the population variance of the sample.

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

pub fn error_mean(&self) -> f64
[src]

Estimate the standard error of the mean of the population.

pub fn skewness(&self) -> f64
[src]

Estimate the skewness of the population.

pub fn kurtosis(&self) -> f64
[src]

Estimate the excess kurtosis of the population.

Trait Implementations

impl Estimate for Kurtosis
[src]

impl Merge for Kurtosis
[src]

impl Debug for Kurtosis
[src]

impl FromIterator<f64> for Kurtosis
[src]

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

impl Clone for Kurtosis
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Kurtosis
[src]

Auto Trait Implementations

impl Send for Kurtosis

impl Sync for Kurtosis

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ConvUtil for T
[src]

fn approx_as<Dst>(self) -> Result<Dst, Self::Err> where
    Self: ApproxInto<Dst, DefaultApprox>, 
[src]

Approximate the subject to a given type with the default scheme.

fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
    Scheme: ApproxScheme,
    Self: ApproxInto<Dst, Scheme>, 
[src]

Approximate the subject to a given type with a specific scheme.

fn into_as<Dst>(self) -> Dst where
    Self: Into<Dst>, 
[src]

Convert the subject to a given type.

fn try_as<Dst>(self) -> Result<Dst, Self::Err> where
    Self: TryInto<Dst>, 
[src]

Attempt to convert the subject to a given type.

fn value_as<Dst>(self) -> Result<Dst, Self::Err> where
    Self: ValueInto<Dst>, 
[src]

Attempt a value conversion of the subject to a given type.

impl<Dst, Src, Scheme> ApproxInto for Src where
    Dst: ApproxFrom<Src, Scheme>,
    Scheme: ApproxScheme
[src]

type Err = <Dst as ApproxFrom<Src, Scheme>>::Err

The error type produced by a failed conversion.

impl<Src, Dst> ValueInto for Src where
    Dst: ValueFrom<Src>, 
[src]

type Err = <Dst as ValueFrom<Src>>::Err

The error type produced by a failed conversion.

impl<Src> ValueFrom for Src
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Scheme> ApproxFrom for Src where
    Scheme: ApproxScheme
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<T, Dst> ConvAsUtil for T
[src]

fn approx(self) -> Result<Dst, Self::Err> where
    Self: ApproxInto<Dst, DefaultApprox>, 
[src]

Approximate the subject with the default scheme.

fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
    Scheme: ApproxScheme,
    Self: ApproxInto<Dst, Scheme>, 
[src]

Approximate the subject with a specific scheme.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<Src> TryFrom for Src
[src]

type Err = NoError

The error type produced by a failed conversion.

impl<Src, Dst> TryInto for Src where
    Dst: TryFrom<Src>, 
[src]

type Err = <Dst as TryFrom<Src>>::Err

The error type produced by a failed conversion.