Statistic

Trait Statistic 

Source
pub trait Statistic {
    // Required methods
    fn alpha(&self) -> Alpha64;
    fn statistic(&self) -> f64;
    fn probability_value(&self) -> f64;
    fn conclusion(&self) -> RejectionStatus;
}
Expand description

The general form of a statistical conclusion

Required Methods§

Source

fn alpha(&self) -> Alpha64

Get the alpha level associated with this statistical run

Source

fn statistic(&self) -> f64

Get the result of the statistic

Source

fn probability_value(&self) -> f64

Get the p-value of the result (usually, p < alpha means the model assumption is rejected)

Source

fn conclusion(&self) -> RejectionStatus

A conclusion on whether the null hypothesis was passed or not

Implementors§