pub struct SurvDiffResult {
pub chisq: f64,
pub pvalue: f64,
pub df: usize,
}Expand description
Outcome of a (weighted) log-rank test.
Fields§
§chisq: f64The chi-square test statistic.
pvalue: f64The upper-tail p-value under the chi-square(g - 1) null.
df: usizeDegrees of freedom (number of groups - 1).
Trait Implementations§
Source§impl Clone for SurvDiffResult
impl Clone for SurvDiffResult
Source§fn clone(&self) -> SurvDiffResult
fn clone(&self) -> SurvDiffResult
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 moreAuto Trait Implementations§
impl Freeze for SurvDiffResult
impl RefUnwindSafe for SurvDiffResult
impl Send for SurvDiffResult
impl Sync for SurvDiffResult
impl Unpin for SurvDiffResult
impl UnsafeUnpin for SurvDiffResult
impl UnwindSafe for SurvDiffResult
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