pub enum WeightType {
LogRank,
GehanBreslow,
TaroneWare,
FlemingHarrington(f64),
}Expand description
Weight family for the (weighted) log-rank test.
Variants§
LogRank
Unweighted log-rank test (all weights equal to 1).
GehanBreslow
Gehan–Breslow: weight by the total number at risk at each event time.
TaroneWare
Tarone–Ware: weight by the square root of the number at risk.
FlemingHarrington(f64)
Fleming–Harrington: weight by S(t-)^p (pooled KM at previous time).
Trait Implementations§
Source§impl Clone for WeightType
impl Clone for WeightType
Source§fn clone(&self) -> WeightType
fn clone(&self) -> WeightType
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 WeightType
Source§impl Debug for WeightType
impl Debug for WeightType
Source§impl PartialEq for WeightType
impl PartialEq for WeightType
impl StructuralPartialEq for WeightType
Auto Trait Implementations§
impl Freeze for WeightType
impl RefUnwindSafe for WeightType
impl Send for WeightType
impl Sync for WeightType
impl Unpin for WeightType
impl UnsafeUnpin for WeightType
impl UnwindSafe for WeightType
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