MultivariateStatistics`
MultivariateStatistics`

KendallRankCorrelation

As of Version 9.0, KendallRankCorrelation has been renamed to KendallTau and is part of the built-in Wolfram Language kernel.

KendallRankCorrelation[xlist,ylist]

gives Kendall's rank correlation coefficient for the real-valued vectors xlist and ylist.

更多信息和选项

  • To use KendallRankCorrelation, you first need to load the Multivariate Statistics Package using Needs["MultivariateStatistics`"].
  • Kendall's rank correlation coefficient is a measure of association based on the relative order of consecutive elements in the two lists.
  • Kendall's rank correlation coefficient between and is given by , where is the number of concordant pairs of observations, is the number of discordant pairs, is the number of ties involving only the variable, and is the number of ties involving only the variable.
  • A concordant pair of observations and is one such that both and or both and . A discordant pair of observations is one such that and or and .
  • The arguments xlist and ylist can be any realvalued vectors of equal length.

范例

基本范例  (1)

Kendall's rank correlation for two vectors:

Wolfram Research (2007),KendallRankCorrelation,Wolfram 语言函数,https://reference.wolfram.com/language/MultivariateStatistics/ref/KendallRankCorrelation.html.

文本

Wolfram Research (2007),KendallRankCorrelation,Wolfram 语言函数,https://reference.wolfram.com/language/MultivariateStatistics/ref/KendallRankCorrelation.html.

CMS

Wolfram 语言. 2007. "KendallRankCorrelation." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MultivariateStatistics/ref/KendallRankCorrelation.html.

APA

Wolfram 语言. (2007). KendallRankCorrelation. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MultivariateStatistics/ref/KendallRankCorrelation.html 年

BibTeX

@misc{reference.wolfram_2024_kendallrankcorrelation, author="Wolfram Research", title="{KendallRankCorrelation}", year="2007", howpublished="\url{https://reference.wolfram.com/language/MultivariateStatistics/ref/KendallRankCorrelation.html}", note=[Accessed: 02-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_kendallrankcorrelation, organization={Wolfram Research}, title={KendallRankCorrelation}, year={2007}, url={https://reference.wolfram.com/language/MultivariateStatistics/ref/KendallRankCorrelation.html}, note=[Accessed: 02-January-2025 ]}