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§
Sourcefn probability_value(&self) -> f64
fn probability_value(&self) -> f64
Get the p-value of the result (usually, p < alpha means the model assumption is rejected)
Sourcefn conclusion(&self) -> RejectionStatus
fn conclusion(&self) -> RejectionStatus
A conclusion on whether the null hypothesis was passed or not