pub struct ContingencyResult {
pub statistic: f64,
pub df: usize,
pub pvalue: f64,
pub expected: Array2<f64>,
}Expand description
Result of a contingency-table chi-squared test of independence.
Fields§
§statistic: f64Pearson chi-squared statistic.
df: usizeDegrees of freedom (rows − 1)(cols − 1).
pvalue: f64p-value from the chi-squared distribution.
expected: Array2<f64>Expected cell counts under independence.
Trait Implementations§
Source§impl Clone for ContingencyResult
impl Clone for ContingencyResult
Source§fn clone(&self) -> ContingencyResult
fn clone(&self) -> ContingencyResult
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 ContingencyResult
impl RefUnwindSafe for ContingencyResult
impl Send for ContingencyResult
impl Sync for ContingencyResult
impl Unpin for ContingencyResult
impl UnsafeUnpin for ContingencyResult
impl UnwindSafe for ContingencyResult
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