Struct average::Kurtosis [−][src]
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]
impl Kurtosis
pub fn new() -> Kurtosis
[src]
pub fn new() -> Kurtosis
Create a new kurtosis estimator.
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
Determine whether the sample is empty.
pub fn mean(&self) -> f64
[src]
pub fn mean(&self) -> f64
Estimate the mean of the population.
Returns 0 for an empty sample.
pub fn len(&self) -> u64
[src]
pub fn len(&self) -> u64
Return the sample size.
pub fn sample_variance(&self) -> f64
[src]
pub fn sample_variance(&self) -> f64
Calculate the sample variance.
This is an unbiased estimator of the variance of the population.
pub fn population_variance(&self) -> f64
[src]
pub fn population_variance(&self) -> f64
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]
pub fn error_mean(&self) -> f64
Estimate the standard error of the mean of the population.
pub fn skewness(&self) -> f64
[src]
pub fn skewness(&self) -> f64
Estimate the skewness of the population.
pub fn kurtosis(&self) -> f64
[src]
pub fn kurtosis(&self) -> f64
Estimate the excess kurtosis of the population.
Trait Implementations
impl Debug for Kurtosis
[src]
impl Debug for Kurtosis
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Kurtosis
[src]
impl Clone for Kurtosis
fn clone(&self) -> Kurtosis
[src]
fn clone(&self) -> Kurtosis
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for Kurtosis
[src]
impl Default for Kurtosis
impl Estimate for Kurtosis
[src]
impl Estimate for Kurtosis
fn add(&mut self, x: f64)
[src]
fn add(&mut self, x: f64)
Add an observation sampled from the population.
fn estimate(&self) -> f64
[src]
fn estimate(&self) -> f64
Estimate the statistic of the population.
impl Merge for Kurtosis
[src]
impl Merge for Kurtosis
impl FromIterator<f64> for Kurtosis
[src]
impl FromIterator<f64> for Kurtosis
fn from_iter<T>(iter: T) -> Kurtosis where
T: IntoIterator<Item = f64>,
[src]
fn from_iter<T>(iter: T) -> Kurtosis where
T: IntoIterator<Item = f64>,
Creates a value from an iterator. Read more
impl<'a> FromIterator<&'a f64> for Kurtosis
[src]
impl<'a> FromIterator<&'a f64> for Kurtosis