liveBook · Manning

Cramer's V

Cramer's V is a normalized, directionless measure of association strength between categorical variables in a contingency table, ranging from 0 to 1.

How 2 Manning books explain it

Statistics Slam Dunk

Cramer's V is an effect-size measure of the strength of association between categorical variables in a contingency table.

How it is used
Measures the size of association between categorical variables after chi-square testing, using NBA rest and win-loss outcomes.
How deep it goes
Defines a 0–1 scale, demonstrates two R functions, and stops short of replacing significance testing.
Examples
Uses NBA days off, wins and losses, a contingency table, and questionr and rcompanion outputs of approximately 0.236.
What you can do after
Apply it via questionr or rcompanion to quantify association after constructing a contingency table.

Read how Statistics Slam Dunk explains Cramer's V →

Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A normalized measure of association between categorical variables ranging from 0 to 1 and indicating association intensity without direction.

How it is used
Compares categorical features when correlation cannot represent their relationship reliably.
How deep it goes
Defines the normalized chi-square measure, interprets its range, and demonstrates calculation after discretization.
Examples
Uses MPG deciles, model year, a contingency table, and a demonstrated value of 0.855.
What you can do after
Apply it via SciPy and pandas to quantify association between categorical or discretized features.

Read how Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI explains Cramer's V →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.