CorrelationCoefficient コマンド

CorrelationCoefficient( <x座標のリスト>, <y座標のリスト> )

与えられた x 座標と y 座標を使用して,https://en.wikipedia.org/wiki/ja:%E7%9B%B8%E9%96%A2%E4%BF%82%E6%95%B0[ピアソンの積率相関係数]を計算する.

CorrelationCoefficient( <点のリスト> )

与えられた点の座標を使用して,https://en.wikipedia.org/wiki/ja:%E7%9B%B8%E9%96%A2%E4%BF%82%E6%95%B0[ピアソンの積率相関係数]を計算する.

CorrelationCoefficient({(1, 1), (3, 6), (2, 4), (1, 3), (5, 3), (2, 2)}) 出力: 0.36.

CorrelationCoefficient({1, 3, 2, 1, 5, 2}, {1, 6, 4, 3, 3, 2}) 出力: 0.36.