Skip to main content

cramersV

Introduced in: v22.1.0 Cramer’s V (sometimes referred to as Cramer’s phi) is a measure of association between two columns in a table. The result of the cramersV function ranges from 0 (corresponding to no association between the variables) to 1 and can reach 1 only when each value is completely determined by the other. It may be viewed as the association between two variables as a percentage of their maximum possible variation.
For a bias corrected version of Cramer’s V see: cramersVBiasCorrected
Syntax
Arguments Returned value Returns a value between 0 (corresponding to no association between the columns’ values) to 1 (complete association). Float64 Examples No association between columns
Query
Response
High association between columns
Query
Response
Last modified on July 3, 2026