13.13
Kendall Tau 检验,也称 Kendall 等级相关系数检验,是一种用于评估两个变量之间关联的非参数方法。当样本和总体的分布未知时,此检验对于识别显著相关性特别有用。Tau 系数(表示为 τ)由英国统计学家 Sir Maurice George Kendall 于 1938 年开发,用作等级…
考虑一个例子:一位工匠和一位普通买家分别对35件古董瓷茶杯进行独立排序。
肯德尔 tau 检验可用于判断这两个排序之间是否存在关联。
此处,零假设表明工匠的排名与买家的排名之间不存在相关性。备择假设则认为这两个排名之间存在相关性。
首先,将数据按特定顺序排列,例如根据工匠的排名。
这些成对的秩次需要转换为计数。
在传统的计数计算方法中,首先找到一个秩次,并计算同一列中高于该秩次的所有秩次的总数。对数据中的所有秩次重复此过程。
检验统计量 tau 可通过以下公式计算。
可以使用合适的基于计算机的工具来获得该数量级的意义。
Kendall's tau 在数据无结(ties)的情况下,特别适用于检测变量之间线性或非线性的单调关联。
View the full transcript and gain access to JoVE Core videos
Q1: What is Kendall's tau test used for in statistics?
Kendall's tau test is a nonparametric method for assessing association between two variables when their distributions are unknown. It identifies whether a correlation exists between paired rankings without requiring strict distributional assumptions. The tau coefficient ranges from -1 to +1, where +1 indicates perfect positive correlation and -1 indicates perfect negative correlation, making it valuable for analyzing ordinal data.
Q2: How do you calculate the test statistic in Kendall's tau?
To calculate Kendall's tau, first arrange data by one variable's ranking. Then count how many ranks in the second column are higher than each rank position. Repeat this for all ranks to obtain counts. The test statistic tau is calculated using these counts in a specific equation. The significance of the resulting tau value can be determined using computer-based statistical tools.
Q3: What does a tau value of +1 or -1 indicate?
A tau value of +1 indicates that the ranks of two variables are perfectly similar, suggesting a strong positive correlation between them. Conversely, a tau value of -1 indicates that the ranks are perfectly dissimilar, suggesting a strong negative correlation. Positive tau values indicate positive relationships, while negative values signify negative relationships between the variables.
Q4: How does Kendall's tau compare to Spearman's rank correlation test?
Kendall's tau and Spearman's rank correlation test are equivalent and equally precise nonparametric methods for assessing rank correlation. Both tests are valid for analyzing associations between variables without strict distributional assumptions. However, Kendall's tau calculation is more straightforward when there are no ties in the data ranks and is more widely used for such data.
Q5: What are the null and alternative hypotheses in Kendall's tau test?
The null hypothesis states that no correlation exists between the two sets of rankings being compared. The alternative hypothesis is that a correlation does exist between the rankings. These hypotheses are tested by calculating the tau statistic and determining its significance, which indicates whether sufficient evidence exists to reject the null hypothesis.
Q6: When is Kendall's tau test most appropriate to use?
Kendall's tau test is particularly useful for finding linear or non-linear monotonic associations between variables when there are no ties in the data. It is valuable for analyzing ordinal data and exploring relationships without relying on strict assumptions about underlying distributions. The test is especially appropriate when sample and population distributions are unknown.
Q7: What is the rank intersection method in Kendall's tau calculation?
The rank intersection method involves arranging data into two columns with rankings from each variable, then drawing lines connecting matching ranks between columns. The total number of intersections formed by these lines is counted as X. This intersection count is then used in an equation to calculate N, which contributes to determining the tau coefficient and correlation strength.