到目前为止,我使用相关性来研究两个变量是否相互影响。现在我偶然发现卡方也在这样做(http://www.r-tutor.com/elementary-statistics/goodness-fit/chi-squared-test-independence)。分别在哪里更适合哪一个?
在相同的上下文中,我发现https://www.rdocumentation.org/packages/mvoutlier/versions/2.0.9/topics/chisq.plot其中“数据的有序稳健马氏距离与卡方分布的分位数"被绘制。这现在非常令人困惑,因为我习惯于应用马氏距离来衡量相似性。现在它与卡方相连。
你能帮我把它们分开吗?