pub struct TestResult {
pub statistic: f64,
pub p_value: f64,
pub significant: bool,
pub effect_size: f64,
}Expand description
Result of a statistical test.
Fields§
§statistic: f64Test statistic (t, U, F, etc.)
p_value: f64P-value
significant: boolWhether result is significant at α=0.05
effect_size: f64Effect size (Cohen’s d, eta-squared, etc.)
Implementations§
Source§impl TestResult
impl TestResult
Sourcepub fn effect_interpretation(&self) -> &'static str
pub fn effect_interpretation(&self) -> &'static str
Interpret effect size (Cohen’s d).
Trait Implementations§
Source§impl Clone for TestResult
impl Clone for TestResult
Source§fn clone(&self) -> TestResult
fn clone(&self) -> TestResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestResult
impl Debug for TestResult
Auto Trait Implementations§
impl Freeze for TestResult
impl RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl UnsafeUnpin for TestResult
impl UnwindSafe for TestResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more