Skip to main content

association

Function association 

Source
pub fn association(
    table: &[Vec<u64>],
    method: AssociationMethod,
) -> Result<f64, ErrorsJSL>
Expand description

The strength of association between the two variables of a contingency table (SciPy’s contingency.association), from φ² = χ²/N without continuity correction: 0 for independence, 1 (for Cramér’s V and Tschuprow’s T on square tables) for perfect association.