Trait statrs::statistics::Skewness[][src]

pub trait Skewness<T> {
    fn skewness(&self) -> T;
}

The Skewness trait specifies an object that has a closed form solution for its skewness(s)

Required Methods

Returns the skewness. May panic depending on the implementor.

Examples

use statrs::statistics::Skewness;
use statrs::distribution::Uniform;

let n = Uniform::new(0.0, 1.0).unwrap();
assert_eq!(0.0, n.skewness());

Implementors