KendallTau
Kendall's tau, or Kendall tau, is a nonparametric statistic that measures the strength and direction of association between two variables based on the ordering of data. It was introduced by Maurice Kendall in 1938 and relies on pairwise comparisons of observations.
For each pair of observations, Kendall’s method classifies the pair as concordant if the ranks of both
There are several variants to handle ties. Kendall’s tau-a uses only the difference between concordant and discordant
Interpretation: values range from −1 to 1. Positive values indicate a monotone positive association, negative values
Similar to other rank-based measures, Kendall’s tau is robust to outliers and appropriate for ordinal data.