#[non_exhaustive]pub enum AssociationMethod {
Cramer,
Tschuprow,
Pearson,
}Expand description
A measure of association for an r × c table (SciPy’s association’s method).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cramer
Cramér’s V, √(φ² / min(r − 1, c − 1)).
Tschuprow
Tschuprow’s T, √(φ² / √((r − 1)(c − 1))).
Pearson
Pearson’s contingency coefficient, √(φ² / (1 + φ²)).
Trait Implementations§
Source§impl Clone for AssociationMethod
impl Clone for AssociationMethod
impl Copy for AssociationMethod
Source§impl Debug for AssociationMethod
impl Debug for AssociationMethod
impl Eq for AssociationMethod
Source§impl PartialEq for AssociationMethod
impl PartialEq for AssociationMethod
impl StructuralPartialEq for AssociationMethod
Auto Trait Implementations§
impl Freeze for AssociationMethod
impl RefUnwindSafe for AssociationMethod
impl Send for AssociationMethod
impl Sync for AssociationMethod
impl Unpin for AssociationMethod
impl UnsafeUnpin for AssociationMethod
impl UnwindSafe for AssociationMethod
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