pub struct PoissonResult {
pub statistic: f64,
pub pvalue: f64,
pub rate1: f64,
pub rate2: f64,
pub ratio: f64,
pub diff: f64,
}Expand description
Result of test_poisson_2indep.
Fields§
§statistic: f64Test statistic. NaN for the binomial (ExactCond / CondMidp) tests.
pvalue: f64p-value of the test.
rate1: f64Estimated rate of sample 1, count1 / exposure1.
rate2: f64Estimated rate of sample 2, count2 / exposure2.
ratio: f64Observed rate ratio rate1 / rate2.
diff: f64Observed rate difference rate1 - rate2.
Trait Implementations§
Source§impl Clone for PoissonResult
impl Clone for PoissonResult
Source§fn clone(&self) -> PoissonResult
fn clone(&self) -> PoissonResult
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 moreimpl Copy for PoissonResult
Auto Trait Implementations§
impl Freeze for PoissonResult
impl RefUnwindSafe for PoissonResult
impl Send for PoissonResult
impl Sync for PoissonResult
impl Unpin for PoissonResult
impl UnsafeUnpin for PoissonResult
impl UnwindSafe for PoissonResult
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