Skip to main content

contingency

Introduced in: v22.1.0 The contingency function calculates the contingency coefficient, a value that measures the association between two columns in a table. The computation is similar to the cramersV function but with a different denominator in the square root. Syntax
Arguments
  • column1 — First column to compare. Any
  • column2 — Second column to compare. Any
Returned value Returns a value between 0 and 1. The larger the result, the closer the association of the two columns. Float64 Examples Comparison with cramersV
Query
Response
Last modified on July 2, 2026