Skip to contents

This function returns the statistic $$\hat{T}=\sqrt{n}\max_{1\le j\le p}\hat{\xi}_j$$, where \(\hat{\xi}_j\) is the Chatterjee's rank correlation coefficient for the \(j\)-th hypothesis. See Olivares, Olma, and Wilhelm (2025) for details.

Usage

max_stat(dat)

Arguments

dat

Data frame. There are two elements in the data frame, X and Y, where X is a random variable and Y corresponds with the \(Y_j\) in the individual hypothesis \(Y_j \perp X\).

Value

Returns the test statistic.

References

Olivares, M., Olma, T., and Wilhelm, D. (2025). A Powerful Bootstrap Test of Independence in High Dimensions. Preprint, arXiv:2503.21715.

Author

Maurcio Olivares

Tomasz Olma

Daniel Wilhelm