Trait statest::chi2::Chi2Vec[][src]

pub trait Chi2Vec<T: Float> {
    fn chi2_fit(&self, pi: &[T], pi: T) -> bool;
}

Trait for Chi2 test (Goodness of fitting).

Required methods

fn chi2_fit(&self, pi: &[T], pi: T) -> bool[src]

Chi2 test for goodness of fit, which returns true if p-value is larger than p.

Loading content...

Implementations on Foreign Types

impl Chi2Vec<f64> for Vec<usize>[src]

impl Chi2Vec<f32> for Vec<usize>[src]

impl<S: Data<Elem = usize>> Chi2Vec<f64> for ArrayBase<S, Ix1>[src]

impl<S: Data<Elem = usize>> Chi2Vec<f32> for ArrayBase<S, Ix1>[src]

Loading content...

Implementors

Loading content...