Computes Chatterjee's xi B times with random tie-breaking and returns the average. This stabilizes the estimate against tie-breaking variability, which is important for ordinal data with many ties (e.g., Likert-scale items).
Value
A list with elements:
- xi
Mean of the B Chatterjee xi values.
- sd
Standard deviation of the B values (tie-breaking spread).
- se
Standard error of the mean (sd / sqrt(B)).
- B
Number of bootstrap replications used.
Details
For each of the B replications, ties in x are broken randomly via
rank(x, ties.method = "random") inside chatterjee_xi().
The standard error of the mean shrinks as 1 / sqrt(B); B = 1000 typically
yields SE around 0.001 for moderately tied data.
