pub struct MultipleHypothesisTester { /* private fields */ }Expand description
Sequential testing for multiple hypotheses
Implementations§
Source§impl MultipleHypothesisTester
impl MultipleHypothesisTester
Sourcepub fn new(hypotheses: Vec<Uncertain<bool>>, names: Vec<&str>) -> Self
pub fn new(hypotheses: Vec<Uncertain<bool>>, names: Vec<&str>) -> Self
Create a new multiple hypothesis tester
§Example
use uncertain_rs::{Uncertain, hypothesis::MultipleHypothesisTester, operations::Comparison};
let temp = Uncertain::normal(22.0, 2.0);
let hypotheses = vec![
Comparison::gt(&temp, 20.0),
Comparison::gt(&temp, 25.0),
Comparison::lt(&temp, 18.0),
];
let names = vec!["warm", "hot", "cold"];
let tester = MultipleHypothesisTester::new(hypotheses, names);Auto Trait Implementations§
impl !RefUnwindSafe for MultipleHypothesisTester
impl !UnwindSafe for MultipleHypothesisTester
impl Freeze for MultipleHypothesisTester
impl Send for MultipleHypothesisTester
impl Sync for MultipleHypothesisTester
impl Unpin for MultipleHypothesisTester
impl UnsafeUnpin for MultipleHypothesisTester
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