Unlike Pearson's correlation (which measures linear relationships),
Chatterjee's coefficient can handle non-linear monotonic relationships. It is
robust to outliers and can handle tied ranks, making it versatile for
datasets with ordinal data or tied ranks. This makes it a valuable
alternative to Spearman's and Kendall's correlations, especially when the
data may not meet the assumptions required by these methods.
By default, ties = FALSE
is set to prioritize computational efficiency, as
handling ties requires additional processing. In cases where ties are present
or likely (such as when working with ordinal or categorical data), it is
recommended to set ties = TRUE
.