Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
contingency 関数は連関係数を計算します。これは、テーブル内の 2 つのカラム間の関連性を表す値です。計算方法は cramersV 関数に似ていますが、平方根内の分母が異なります。
contingency
cramersV
contingency(column1, column2)
column1
Any
column2
Float64
SELECT cramersV(a, b), contingency(a, b) FROM ( SELECT number % 10 AS a, number % 4 AS b FROM numbers(150) );
┌─────cramersV(a, b)─┬─contingency(a, b)─┐ │ 0.5798088336225178 │ 0.708607540104077 │ └────────────────────┴───────────────────┘
このページは役に立ちましたか?