Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Kendall の順位相関係数(Kendall’s τ)

Kendall の τ\tau は観測値の全ペアの数に対する順序が一致(concordant)/ 不一致(discordant)のペアの数の比率のように定義される相関係数

定義式

τ=C−D(n2)\tau = \frac{C - D}{\binom{n}{2}}
  • CC:一致ペア数

  • DD:不一致ペア数

  • (n2)\binom{n}{2}:全ペア数

  • 順位が完全に一致している(すなわちD=0D = 0)ならτ=+1\tau = +1

  • 順位が完全に不一致(すなわちC=0C = 0)ならτ=−1\tau = -1

特徴

  • 単調関係を捉える

  • ノイズが強い場合に Spearman より安定する場合がある

  • 値域は [−1,1][-1,1]

Source
<Figure size 1000x250 with 3 Axes>