#[non_exhaustive]pub struct TukeyHsdResult {
pub statistic: Vec<Vec<f64>>,
pub p_values: Vec<Vec<f64>>,
pub std_err: Vec<Vec<f64>>,
pub df: Vec<Vec<f64>>,
pub ntreatments: usize,
}Expand description
The result of tukey_hsd: entry (i, j) compares treatment i with treatment j.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.statistic: Vec<Vec<f64>>The differences of the means, x̄_i − x̄_j.
p_values: Vec<Vec<f64>>§std_err: Vec<Vec<f64>>The standard errors of the differences (divided by √2, as SciPy).
df: Vec<Vec<f64>>The degrees of freedom of each comparison.
ntreatments: usizeImplementations§
Source§impl TukeyHsdResult
impl TukeyHsdResult
Sourcepub fn confidence_interval(
&self,
confidence_level: f64,
) -> Result<IntervalMatrices, ErrorsJSL>
pub fn confidence_interval( &self, confidence_level: f64, ) -> Result<IntervalMatrices, ErrorsJSL>
Simultaneous confidence intervals x̄_i − x̄_j ± q_{1−α}(k, ν) · se_ij, as matrices of lower
and upper limits.
Trait Implementations§
Source§impl Clone for TukeyHsdResult
impl Clone for TukeyHsdResult
Auto Trait Implementations§
impl Freeze for TukeyHsdResult
impl RefUnwindSafe for TukeyHsdResult
impl Send for TukeyHsdResult
impl Sync for TukeyHsdResult
impl Unpin for TukeyHsdResult
impl UnsafeUnpin for TukeyHsdResult
impl UnwindSafe for TukeyHsdResult
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