pub enum PoissonMethod {
Wald,
WaldCcv,
Score,
WaldLog,
ScoreLog,
Sqrt,
ExactCond,
CondMidp,
}Expand description
Test statistic / p-value method for test_poisson_2indep.
Variants§
Wald
Wald test, variance from the observed rates (ratio and diff).
WaldCcv
Wald test with a continuity-corrected variance (diff only).
Score
Score test, variance from the null-constrained estimate (ratio, diff).
WaldLog
Wald test on the log-ratio (ratio only).
ScoreLog
Score test on the log-ratio (ratio only).
Sqrt
Variance-stabilising square-root transformation test (ratio only).
ExactCond
Exact conditional test based on the binomial distribution (ratio only).
CondMidp
Mid-p value of the exact conditional test (ratio only).
Trait Implementations§
Source§impl Clone for PoissonMethod
impl Clone for PoissonMethod
Source§fn clone(&self) -> PoissonMethod
fn clone(&self) -> PoissonMethod
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 PoissonMethod
Source§impl Debug for PoissonMethod
impl Debug for PoissonMethod
impl Eq for PoissonMethod
Source§impl PartialEq for PoissonMethod
impl PartialEq for PoissonMethod
Source§fn eq(&self, other: &PoissonMethod) -> bool
fn eq(&self, other: &PoissonMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PoissonMethod
Auto Trait Implementations§
impl Freeze for PoissonMethod
impl RefUnwindSafe for PoissonMethod
impl Send for PoissonMethod
impl Sync for PoissonMethod
impl Unpin for PoissonMethod
impl UnsafeUnpin for PoissonMethod
impl UnwindSafe for PoissonMethod
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