Spearman的R领带检验是否正确? [英] Is Spearman's cor.test in R tie corrected or not?
问题描述
我想知道R中用于计算Spearman的rho的cor.test函数是否领带校正。
我在官方R文档。
I was wondering if the cor.test function in R to compute Spearman's rho is tie-corrected or not. I couldn't find a straight answer in the official R documentation.
平局校正的Spearman的示例位于:
An example of tie corrected Spearman is found in:
Cureton,EdwardE。存在关系时,平均矛兵等级准则相关性
。 Psychometrika 23,没有。 3(1958年9月):
271-272。
Cureton, Edward E. The average spearman rank criterion correlation when ties are present. Psychometrika 23, no. 3 (September 1958): 271-272.
感谢任何提示,
Mulone
Thanks for any hint, Mulone
推荐答案
官方文档是代码本身。在那儿,人们看到可以通过使用 pkendall()
来纠正关系。
The "official" documentation is the code itself. And looking there, one sees that there is provision for correction for ties through the use of pkendall()
.
stats:::cor.test.default
您还将在此获取背景信息最近关于Spearman-rho和三个Kendall-tau的公告
这篇关于Spearman的R领带检验是否正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!