Skip to content
EvalSuite
Documentation menu

Effect sizes

Cramér's V

Implementedeffect-size.cramers_v

Definition

Strength of association between two categorical variables.

Formula

V = √(χ² / (N · (min(r, c) − 1)))

Range: [0, 1]

Inputs and outputs

  • contingency table

Returns: EffectSizeResult

Assumptions

No assumptions beyond valid, aligned inputs of the documented types.

Limitations

No metric-specific limitations are documented yet. Interpret the value alongside the task, data, and other metrics.

Python API

PythonSince v0.2.0
import evalsuite as es

es.cramers_v(table)

References

  1. Cramér, H. (1946). Mathematical Methods of Statistics. Princeton University Press.

Implementation status