weighted.cramer.Rd
Computes Cramer's V measure of association between two (possibly weighted) categorical variables
weighted.cramer(x, y, weights = NULL, na.rm = FALSE)
the first categorical variable
the second categorical variable
numeric vector of weights. If NULL (default), uniform weights (i.e. all equal to 1) are used.
logical, indicating whether NA values should be silently removed before the computation proceeds.
Numerical value with Cramer's V.
Rakotomalala R., 'Comprendre la taille d'effet (effect size)', http://eric.univ-lyon2.fr/~ricco/cours/slides/effect_size.pdf
data(Movies)
weighted.cramer(Movies$Country, Movies$ArtHouse)
#> [1] 0.4691762