Calculates Kendall’s tau, a correlation measure for ordinal data
Kendall’s tau is a measure of the correspondence between two rankings. Values close to 1 indicate strong agreement, values close to -1 indicate strong disagreement. This is the tau-b version of Kendall’s tau which accounts for ties.
Parameters : | x : array_like
y : array_like
|
---|---|
Returns : | Kendall’s tau : float
p-value : float
|