<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>On boosting the power of Chatterjee’s rank correlation</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/17/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10439499</idno>
					<idno type="doi">10.1093/biomet/asac048</idno>
					<title level='j'>Biometrika</title>
<idno>0006-3444</idno>
<biblScope unit="volume">110</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Z Lin</author><author>F Han</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Summary            The ingenious approach of Chatterjee (2021) to estimate a measure of dependence first proposed by Dette et al. (2013) based on simple rank statistics has quickly caught attention. This measure of dependence has the appealing property of being between 0 and 1, and being 0 or 1 if and only if the corresponding pair of random variables is independent or one is a measurable function of the other almost surely. However, more recent studies (Cao & Bickel 2020; Shi et al. 2022b) showed that independence tests based on Chatterjee’s rank correlation are unfortunately rate inefficient against various local alternatives and they call for variants. We answer this call by proposing an improvement to Chatterjee’s rank correlation that still consistently estimates the same dependence measure, but provably achieves near-parametric efficiency in testing against Gaussian rotation alternatives. This is possible by incorporating many right nearest neighbours in constructing the correlation coefficients. We thus overcome the ‘ only one disadvantage’ of Chatterjee’s rank correlation (Chatterjee, 2021, § 7).]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Consider X , Y to be two random scalars defined on the same probability space. In various scenarios one is interested in quantifying the strength of association between X and Y as well as determining the validity of the null hypothesis H 0 : X and Y are independent,</p><p>(1) both based on a finite sample of size n. These two tasks are usually convoluted, and together play a pivotal role in many statistics and scientific practices <ref type="bibr">(Pearl, 2009;</ref><ref type="bibr">Josse &amp; Holmes, 2016;</ref><ref type="bibr">Maathuis et al., 2019)</ref>. For handling them, this paper is focused on nonparametric rank correlations that measure associations between X and Y using only the ranks of the data. Rank correlations are particularly appealing for continuous X , Y as then the corresponding tests under H 0 are fully distribution-free. Early proposals include Spearman's &#961; <ref type="bibr">(Spearman, 1904</ref>), Gini's &#947; <ref type="bibr">(Gini, 1914</ref>), Kendall's &#964; <ref type="bibr">(Kendall, 1938</ref>) and Blomqvist's &#946; <ref type="bibr">(Blomqvist, 1950)</ref>. However, none of these can be used to consistently test for independence. For the sake of testing consistency, <ref type="bibr">Hoeffding (1948)</ref>, <ref type="bibr">Blum et al. (1961)</ref>, <ref type="bibr">Yanagimoto (1970)</ref> and <ref type="bibr">Bergsma &amp; Dassios (2014)</ref> proposed variants that, not only lead to consistent tests of independence, but are also shown to be rate efficient against many local alternatives; cf. <ref type="bibr">Dhar et al. (2016)</ref> and <ref type="bibr">Shi et al. (2022b,c)</ref>.</p><p>In a recent manuscript that has received much attention, <ref type="bibr">Chatterjee (2021)</ref> introduced a new rank correlation coefficient that estimates a correlation measure first proposed by <ref type="bibr">Dette et al. (2013)</ref>. Compared to the existing ones, this new pair of correlation measure and coefficient appears to have some appealing properties, including, in particular, that (i) the measure is between 0 and 1, is 0 if and only if X and Y are independent, and is 1 if and only if Y is a measurable function of X almost surely; (ii) the correlation coefficient has a very simple expression, and is an almost surely consistent estimator of the measure as long as Y is not almost surely a constant.</p><p>Because of the above attractive properties, Chatterjee's rank correlation is an appealing choice for measuring bivariate association strength, especially in detecting perfect functional dependence <ref type="bibr">(Cao &amp; Bickel, 2020)</ref>. On the other hand, Chatterjee's proposal can suffer from a lack of power when testing H 0 in (1); cf. the claim made in <ref type="bibr">Chatterjee (2021, &#167; 7)</ref>, the analysis conducted in <ref type="bibr">Cao &amp; Bickel (2020)</ref> and <ref type="bibr">Shi et al. (2022b)</ref>, as well as the results in a very recent study <ref type="bibr">(Shi et al., 2022a)</ref>. As a matter of fact, the critical detection boundary of the test based on Chatterjee's rank correlation was calculated to be at n -1/4 , which is much slower than the usual parametric n -1/2 rate <ref type="bibr">(Auddy et al., 2021)</ref>. These analyses thus motivate revising Chatterjee's original proposal for, not only detecting perfect functional dependence, but also attaining near-parametric efficiency in testing independence.</p><p>In this paper, we make a revision of Chatterjee's rank correlation by incorporating a diverging M = M n many right nearest neighbours, i.e., nearest neighbours that are greater than the target point, into the construction of the correlation coefficient. We show that the resulting estimator is still an almost surely consistent estimator of the measure of dependence of <ref type="bibr">Dette et al. (2013)</ref> as long as M /n &#8594; 0. One could then regard the revised statistic as an extension of Chatterjee's original one from 1-near-neighbour-based to M -nearest-neighbour-based. Similar ideas were already pursued in <ref type="bibr">Deb et al. (2020, Equations (3.3</ref>) and (8.5)); see also <ref type="bibr">Berrett &amp; Samworth (2019)</ref> for a related proposal that approximates the mutual information <ref type="bibr">(Berrett et al., 2019)</ref>. However, our approach to incorporate more nearest neighbours is distinct from theirs; cf. Remark 4 in &#167; 2. In addition, for guaranteeing a normal limiting null distribution, <ref type="bibr">Deb et al. (2020, Theorem 4</ref>.1) required a very small M of order Poly-log n. In contrast, the most interesting part of our study is when M scales at nearly the same order as n.</p><p>One main ingredient of this paper pertains to a local power analysis of the proposed revised Chatterjee's rank correlation coefficients. In this regard, our attention is restricted to the Gaussian rotation model that is a benchmark in independence testing and has been widely adopted in literature; cf. <ref type="bibr">Konijn (1956, p. 301)</ref>, <ref type="bibr">Han et al. (2017, &#167; 4)</ref>, <ref type="bibr">Drton et al. (2020, &#167; 4.</ref>2), <ref type="bibr">Shi et al. (2022c, &#167; 5)</ref> and <ref type="bibr">Shi et al. (2022b, &#167; 3)</ref>. Letting the Pearson correlation between X and Y in a local alternative sequence be &#961; n , we show that the test based on the revised Chatterjee's rank correlation has power tending to one as long as</p><p>here '&#8744;'and '&#8743;'respectively represent the maximum and minimum of the two numbers appearing either side of the notation. In particular, as M /n slowly converges to 0, the denominator in the above fraction can be arbitrarily close to n -1/2 , the well-known parametric detection boundary <ref type="bibr">(Lehmann &amp; Romano, 2005)</ref>; on the other hand, as M diverges more and more slowly to infinity, the boundary tends to n -1/4 , the critical detection boundary of Chatterjee's original statistic derived in <ref type="bibr">Auddy et al. (2021)</ref>. Technically speaking, our analysis hinges on a careful, sharp up to some log n terms, calculation of the proposed correlation coefficients' means and variances under both null and local alternatives. A particular focus is on M that can scale fast with and even at a rate close to n. Analogous results in <ref type="bibr">Deb et al. (2020)</ref>, <ref type="bibr">Auddy et al. (2021)</ref>, <ref type="bibr">Chatterjee (2021)</ref> and <ref type="bibr">Shi et al. (2022a)</ref> are not quite helpful in this regime, since they are focused on small M that is either fixed or scaling to infinity at a subpolynomial rate. More specifically, (i) we obtain explicit forms of the statistics'means and variances under the null (cf. Theorem 2 below) via a brute-force combinatorial analysis that is in contrast to existing ones; the latter are only applicable to small M ; (ii) we establish sharp, up to some log n terms, bounds for the statistics' means and variances under Gaussian local alternatives; see Theorem 5 below. The interplay between different units in our formulation of the correlation coefficients is remarkably more sophisticated as M is large, when those units with not enough right nearest neighbours need to be handled carefully, while negligible if M is small.</p><p>To complete the story, a central limit theorem of the proposed statistics under the null is also established whenever M scales at a slower rate than n 1/4 , which however is not sufficiently fast for making the corresponding test attain near-parametrical efficiency in the Gaussian rotation model.</p><p>In the sequel, a set consisting of distinct elements x 1 , ..</p><p>., x n is written as either {x 1 , ..., x n } or {x i } n i=1 . The corresponding sequence is denoted [x 1 , ..., x n ] or [x i ] n i=1 . The notation 1(&#8226;) is saved for the indicator function. For a sequence of real numbers a 1 , ..., a n ,weuse(a 1 , ..., a n ) as a shorthand of (a 1 , ..., a n ) T . For any two real sequences {a n } and {b n }, write a n b n ,o r equivalently b n a n , if there exists a universal constant C &gt; 0 such that a n /b n C for all sufficiently large n, and write a n &#8826; b n , or equivalently b n a n ,i fa n /b n &#8594; 0a sn goes to infinity. Write a</p><p>For any random variable Z, P Z represents its law.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Correlation measures and coefficients</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Chatterjee's rank correlation</head><p>Hereafter, when considering correlation, we use the term correlation measure to represent population quantities and correlation coefficient to represent sample quantities. Denote the joint bivariate distribution function of (X , Y ) by F X ,Y , and the marginal distribution functions of X and Y by F X and F Y , respectively. Let (X 1 , Y 1 ), ..., (X n , Y n ) be n independent copies of (X , Y ). Throughout the rest of this manuscript, we assume (X , Y ) to be continuous, i.e., F X ,Y is a continuous function. This requirement ensures that, with probability 1, there is no tie in the observed data. Denote by P c the family of bivariate probability measures of (X , Y ) such that it is continuous. <ref type="bibr">Dette et al. (2013)</ref> introduced the following measure of dependence between X and Y :</p><p>Compared to many other popular ones <ref type="bibr">(Hoeffding, 1948;</ref><ref type="bibr">Blum et al., 1961;</ref><ref type="bibr">Yanagimoto, 1970;</ref><ref type="bibr">Bergsma &amp; Dassios, 2014;</ref><ref type="bibr">Shi et al., 2022b)</ref>, the correlation measure &#958; is appealing due to its consistency against dependence <ref type="bibr">(Weihs et al., 2018)</ref> as well as its capability to detect perfect functional dependence <ref type="bibr">(Cao &amp; Bickel, 2020)</ref>. These properties were discussed in &#167; 1, and summarized in <ref type="bibr">Dette et al. (2013, Theorem 2)</ref> and Chatterjee (2021, Theorem 1.1).</p><p>To estimate &#958; , Chatterjee (2021) pioneered an ingenious rank-based idea that, to the authors' knowledge, has not been explored before in the literature. To present his idea in a formal way, let us first introduce some necessary notation. Define</p><p>to be the rank of Y i among {Y 1 , ..., Y n }. For any i &#8712;{1, ..., n} and m &#8712;{1, ..., n}, define</p><p>In other words, j m (i) is the index j &#8712;{1, ..., n} such that</p><p>if there exists such a j; otherwise, let j m (i) = i.</p><p>With this notation, we summarize results on Chatterjee's rank correlation as follows.</p><p>Proposition 1(Theorems 1.1 and 2.1 of Chatterjee ( <ref type="formula">2021</ref>)). Chatterjee's rank correlation coefficient, written as</p><p>satisfies the following conditions for any P (X ,Y ) &#8712; P c .</p><p>(i) The coefficient &#958; n converges almost surely to &#958; .</p><p>(ii) Further assuming that Y is independent of X , n 1/2 &#958; n converges in distribution to N (0, 2/5), the Gaussian distribution with mean 0 and variance 2/5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">The revised Chatterjee's rank correlation</head><p>The formulation of Chatterjee's rank correlation in (2) suggests that it is a 1-nearest-neighbourbased estimator of Dette-Siburg-Stoimenov's correlation measure &#958; , and thus intuitively will suffer from a similar efficiency loss to other 1-nearest-neighbour-based estimators in various applications <ref type="bibr">(Wald &amp; Wolfowitz, 1940;</ref><ref type="bibr">Friedman &amp; Rafsky, 1979;</ref><ref type="bibr">Henze, 1988;</ref><ref type="bibr">Liu &amp; Singh, 1993;</ref><ref type="bibr">Henze &amp; Penrose, 1999;</ref><ref type="bibr">Bhattacharya, 2019)</ref>.</p><p>Indeed, recent results have shown that a test of independence based on Proposition 1(ii) is inefficient in common classes of smooth alternatives <ref type="bibr">(Cao &amp; Bickel, 2020;</ref><ref type="bibr">Auddy et al., 2021;</ref><ref type="bibr">Shi et al., 2022b)</ref>. These results call for variants of &#958; n that are able to boost the power of independence tests. Such messages have been made in, e.g., <ref type="bibr">Deb et al. (2020, Remark 4.3)</ref>.</p><p>In this paper we answer this call by introducing the following revised Chatterjee's rank correlation that allows one to take each element's M right nearest neighbours into account:</p><p>Several remarks are in order.</p><p>Remark 1( Formulation of &#958; n,M ). In (3), M = M n &#8712;{ 1, ..., n} represents the number of right nearest neighbours the proposed correlation coefficient &#958; n,M will exploit and is allowed to increase to infinity with n. The denominator, (n + 1){nM + M (M + 1)/4}, is added to ensure that E(&#958; n,M ) = 0 under H 0 ; cf. Theorem 2 below. For reasons to be detailed later, we recommend a sufficiently large M for improving testing efficiency against dependence.</p><p>Remark 2(Distribution-freeness of &#958; n,M under H 0 ). Examining its formulation, it is immediate that, for any M &#8712;{ 1, ..., n}, the value of &#958; n,M depends only on the coordinatewise ranks of</p><p>The statistic &#958; n,M is thus a rank correlation coefficient and, accordingly, enjoys all the nice properties shared by rank correlations, including in particular the distribution-freeness under H 0 <ref type="bibr">(Sidak et al., 1999;</ref><ref type="bibr">Han et al., 2017;</ref><ref type="bibr">Drton et al., 2020)</ref>.</p><p>Remark 3(Relation between &#958; n,M and &#958; n ). In contrast to the coefficient &#958; n introduced in (2), in &#958; n,M we take the minimum instead of absolute difference. This is an idea pursued in <ref type="bibr">Deb et al. (2020)</ref> and <ref type="bibr">Azadkia &amp; Chatterjee (2021)</ref> as well; cf. the correlation coefficient T n introduced in Azadkia &amp; Chatterjee (2021) as well as those in &#167; 8.3.1 of <ref type="bibr">Deb et al. (2020)</ref>. When M = 1,</p><p>reduces to &#958; n with an asymptotically ignorable small order term. This is because |x|+|y|-|x-y|= 2 min{x, y} for any x, y 0, and thus</p><p>The derivation details are relegated to the Supplementary Material.</p><p>Remark 4(Relation to the proposal of <ref type="bibr">Deb et al. (2020)</ref>). Our idea to scale up M for boosting the power of rank-based tests is of course not new, and is particularly related to an earlier proposal made by <ref type="bibr">Deb et al. (2020)</ref>; see, e.g., Equations (3.3) and (8.5) therein. It is hence helpful to point out our new discoveries. First of all, it was observed that using the right nearest neighbours, in contrast to using nearest neighbours in both directions, is important. In particular, it plays a central role to show that a test based on &#958; n,M can provably reach near-parametric efficiency as M is close to n; cf. Theorem 6 below as well as the finite-sample studies in &#167; 5. Secondly, in (3) the normalizing constant (n + 1){nM + M (M + 1)/4} was carefully chosen so that the expectation of &#958; n,M is exactly zero under H 0 , which holds for arbitrary M &#8712;{1, ..., n}. This type of normalization is important if M is large since in our formulation there exists an un-ignorable fraction of is such that j m (i) = i for some m &#8712;{1, ..., M }.</p><p>Remark 5( Relation to spacing statistics). The notion of right nearest neighbours along the real line in the construction of &#958; n,M is related to spacing statistics, which are functions of adjacent spacings between order statistics <ref type="bibr">(Darling, 1953;</ref><ref type="bibr">Pyke, 1965;</ref><ref type="bibr">Cressie, 1976;</ref><ref type="bibr">Del Pino, 1979;</ref><ref type="bibr">Hall, 1986)</ref>. However, these two types of statistics are substantially different; spacing statistics are functions of [X 1 , ..., X n ], while the proposed correlation coefficient &#958; n,M is a function of [Y 1 , ..., Y n ] driven by the right nearest neighbours of [X 1 , ..., X n ]. In particular, under independence between X and Y , the distribution of &#958; n,M is neither dependent on P X nor related to right nearest neighbours of [Y 1 , ..., Y n ]; see &#167; 3.2 below for an exact distribution of &#958; n,M under H 0 . This is clearly distinct from those spacing statistics in the literature.</p><p>Remark 6( Extremal properties of &#958; n,M ). If Y = f (X ) for some strictly increasing function f (&#8226;), one has min{R i , R j m (i) }=R i and thus</p><p>In the above two cases, &#958; n,M are both equal to 1 up to a bias of order M /n.</p><p>Remark 7(Finite-sample range of &#958; n,M ). An equivalent form of (3)is</p><p>The largest possible value of the correlation coefficient is then</p><p>which is attained when Y = X almost surely. On the other hand, since each R i can appear in the summation of (3) for at most 2M times, a straightforward lower bound of &#958; n,M is</p><p>The finite-sample range of &#958; n,M hence belongs to [-1/2, 1] up to a bias of order M /n, which is analogous to that of Chatterjee's correlation coefficient; cf. Remark 9 under Chatterjee (2021, Theorem 1.1). It is still unclear if this lower bound is sharp or not when M 2.</p><p>Remark 8(Computational complexity). To compute &#958; n,M , one needs to first sort the samples of both {X i } n i=1 and {Y i } n i=1 , and then perform the summation over nM terms. The computational complexity is O(n log n + nM ).IfM is O(Poly-log n), it is nearly linear. On the other hand, the computation of &#958; n,M will tend to be quadratic as M is closer to n, which is a seemingly inevitable cost.</p><p>We close this section by establishing strong consistency for the proposed rank correlation coefficient &#958; n,M that is in parallel to Proposition 1(i).</p><p>Theorem 1( Strong consistency of &#958; n,M ). Fo r a ny P (X ,Y ) &#8712; P c , &#958; n,M converges almost surely to &#958; as long as M /n &#8594; 0.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Tests of independence</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Elementary properties under the null</head><p>We start with some elementary properties of &#958; n,M when Y is independent of X . To this end, we first establish the corresponding mean and variance of &#958; n,M .</p><p>Theorem 2(Mean and variance of &#958; n,M under the null). Assuming that P (X ,Y ) &#8712; P c and that H 0 holds, then E(&#958; n,M ) = 0. If we further assume that M &#8594;&#8734;and M /n &#8594; 0 as n &#8594;&#8734;, we have</p><p>Remark 9. Proposition 1 shows that the asymptotic null variance of n 1/2 &#958; n is 2/5 when M = 1. In contrast, Theorem 2 revealed that var(&#958; n,M ) scales at a rate of order (nM ) -1 &#8744; (M /n 2 ), which is always faster than n -1 under the theorem's conditions. Indeed, the variance will achieve its lowest order n -3/2 if M is of order n 1/2 , and is of order close to n -1 if M is of order n &#947; with &#947; close to either 0 or 1.</p><p>We then establish a central limit theorem for &#958; n,M under the null. It is in parallel to Proposition 1(ii); note that, compared to Theorems 1 and 2, a strong scaling requirement, M &#8826; n 1/4 ,i s enforced for guaranteeing its validity.</p><p>Theorem 3(Central limit theorem for &#958; n,M under the null). Assume that P (X ,Y ) &#8712; P c and that H 0 holds. If we further assume that M &#8594;&#8734;and M &#8826; n 1/4 as n &#8594;&#8734;, we have (nM ) 1/2 &#958; n,M converges in distribution to N (0, 2/5).</p><p>Remark 10 (Technical ingredients of Theorem 3). To establish the central limit theorem of &#958; n,M under the null, the following H&#225;jek representation of &#958; n,M is the key:</p><p>The variance of &#958; n,M under H 0 is of order (nM ) -1 as M &#8826; n 1/4 ; we show that (nM ) 1/2 (&#958; n,M&#958;n,M ) converges in probability to 0. It then suffices to establish that (nM ) 1/2 &#958;n,M converges in distribution to N (0, 2/5), which is derived by invoking the normal approximation techniques devised in <ref type="bibr">Chatterjee (2008)</ref>; assuming that M &#8826; n 1/4 is crucial here.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Simulation-based tests of independence</head><p>This section focuses on testing H 0 in (1) based on the revised Chatterjee's correlation coefficient &#958; n,M that was introduced in &#167; 2.</p><p>For a given sample (X i , Y i ) n i=1 , let &#958; n,M and &#958; - n,M be the correlation coefficients in (3) that are calculated based on (X i , Y i ) n i=1 and (X i , -Y i ) n i=1 , respectively. We are interested in the test statistic</p><p>which is invariant to a sign change of the Y i by its construction. For approximating the above test statistic's distribution under H 0 , note that, as X and Y are independent, the joint distribution of (&#958; n,M , &#958; - n,M ) is distribution-free and a simulation-based test can then be directly implemented. In detail, choosing the number of simulations to be B, in each round b &#8712;{1, ..., B}, one draws a sample [R</p><p>i=1 from the uniform distribution over all possible permutations on {1, ..., n}. We then calculate the value of &#958; (b) n,M from (3) as follows:</p><p>One could similarly calculate the value of &#958;</p><p>n,M ) will have the same distribution as (&#958; n,M , &#958; - n,M ) due to independence between X and Y , and the distribution-freeness of relative ranks; see similar discussions in &#167; A.2 and Lemma C3 of the Supplementary Material to <ref type="bibr">Han et al. (2017)</ref>. We then consider</p><p>For a given significance level &#945; &#8712; (0, 1), the proposed simulation-based test is then</p><p>whose size validity and power consistency are guaranteed by the following theorem.</p><p>Theorem 4(Size validity and consistency). (i) The test T &#958; &#177; n,M &#945;,B is size valid in the sense that, for any fixed P = P (X ,Y ) &#8712; P c satisfying H 0 , denoting by P H 0 &#8801; P &#8855;n the corresponding product measure,</p><p>holds for any n 1,B 1 and M &#8712;{1, ..., n}.</p><p>(ii) The test T</p><p>&#945;,B is consistent in the sense that, for any fixed P &#8712; P c violating H 0 , denoting by P H 1 the corresponding product measure, we have</p><p>as long as B = B n &#8594;&#8734;and M /n &#8594; 0 as n &#8594;&#8734;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Local power analysis</head><p>In this section we investigate the local power of the simulation-based test T &#958; &#177; n,M &#945;,B employing the revised Chatterjee's rank correlation &#958; n,M introduced in (3). Our attention is restricted to the following Gaussian rotation model that is a benchmark in independence testing <ref type="bibr">(Konijn, 1956)</ref>. Although the theoretical results then automatically extend to Gaussian copula models, simulation results developed later suggest that power behaviours may alter in other non-Gaussian cases; see &#167; 5 below for more details.</p><p>Assumption 1. The bivariate random vector (X , Y ) belongs to the family of Gaussian distributed ones with mean &#181; and covariance matrix such that</p><p>For the local power analysis in this specified alternative set, we examine the asymptotic power along a sequence of alternatives obtained as</p><p>Because of the construction of the test statistic (4), it suffices to consider positive sequences of &#961; n . We first establish the mean and variance of &#958; n,M under (5).</p><p>Theorem 5(Mean and variance of &#958; n,M under alternatives). Suppose that the considered set of local alternatives satisfies Assumption 1. Then, with any sequence of alternatives given in (5), for any positive sequence &#961; n &#8594; 0, as long as M / log n &#8594;&#8734;and M (log n) 3/2 /n &#8594; 0, (i) the mean of &#958; n,M under H 1,n satisfies</p><p>Remark 11. It is notable that in the above theorem we only establish an upper bound on var H 1,n (&#958; n,M ). However, by calculating the coefficient of each term in the proof of Theorem 5(ii), one is also able to show the lower bound</p><p>The upper bound in Theorem 5(ii) is therefore rate optimal up to some log n terms, although the upper bound of var H 1,n (&#958; n,M ) in Theorem 5(ii) has been sufficient for our purpose.</p><p>As a direct consequence of Theorem 5, the following corollary establishes a boundary of &#961; n beyond which the mean of &#958; n,M under H 1,n shall dominate the standard deviation.</p><p>Corollary 1. Suppose that the considered set of local alternatives satisfies Assumption 1. Then, with any sequence of alternatives given in (5), for any positive sequence &#961; n &#8594; 0, as long as M / log n &#8594;&#8734;,M(log n) 3/2 /n &#8594; 0 and</p><p>Remark 12. In view of Theorem 5(i) and Remark 11, as long as &#961; n &#8826; &#950; n,M , one also has</p><p>Combined with Corollary 1,(6) shows that &#950; n,M is the critical boundary determining whether the mean of &#958; n,M under H 1,n will be dominating or will be dominated by its standard deviation.</p><p>Combining Theorem 5 with Theorem 2, we are now ready to establish a sufficient detection boundary of &#961; n beyond which the proposed test is of a power tending to 1. Invoking Theorem 3 further, this detection boundary is sharp as long as M &#8826; n 1/4 . Theorem 6(Local power analysis). Suppose that the considered set of local alternatives satisfies Assumption 1. Then, with any sequence of alternatives given in (5), for any sequence &#961; n &#8594; 0, as long as M / log n &#8594;&#8734;,M(log n) 3/2 /n &#8594; 0,B&#8594;&#8734;, and (i) as long as |&#961; n | &#950; n,M , we have</p><p>(ii) as long as |&#961; n |&#8826;&#950; n,M and further assuming that M &#8826; n 1/4 , for any sufficiently small &#945;, it holds that</p><p>for some &#946; &#945; &lt; 1 that depends only on &#945;.</p><p>Remark 13 (Relation between M and &#950; n,M ). Picking M = n &#947; for some &#947; &#8712; (0, 1), the established boundary in Theorem 6 is</p><p>It is easy to check that &#946; is piecewise linear with respect to &#947; . In particular, (i) if &#947; &#8594; 0 then &#946; &#8594; 1/4, corresponding to the detection boundary of &#958; n established in Auddy et al. (2021);</p><p>(ii) if &#947; &#8594; 1 then &#946; &#8594; 1/2, corresponding to the well-known parametric detection boundary <ref type="bibr">(Lehmann &amp; Romano, 2005)</ref>.</p><p>In Fig. <ref type="figure">1</ref> we plot the relation between &#946; and &#947; . Here &#946; is not strictly increasing with &#947; ; the pattern changes at &#947; = 1/2 with &#946;(1/2) = 3/8 and &#947; = 2/3 with &#946;(2/3) = 1/3, indicating an intriguing bias-variance trade-off of the test with regard to the choice of M . Interestingly, similar behaviour was also documented in using spacing statistics for testing uniformity <ref type="bibr">(Hall, 1986)</ref>. However, the reasons are distinct; see Remark 5.</p><p>Remark 14. <ref type="bibr">Deb et al. (2020, Remark 4.</ref>3) conjectured that 'allowing for growing [number of nearest neighbours] could potentially lead to information theoretically efficient estimators'. Theorem 6 settles this conjecture in the Gaussian rotation model, and shows that a simulationbased test built on the proposed revised Chatterjee's rank correlation can indeed provably achieve near-parametric efficiency by pushing M to be closer and closer to n; see also Remarks 4 and 13 for related discussions.</p><p>Remark 15. We conjecture that &#950; n,M is always, regardless of how fast M grows to infinity with n, the critical detection boundary of the proposed test in the sense that there exists a constant C &#945; &lt; 1 depending only on &#945; such that</p><p>for any sequence |&#961; n |&#8826;&#950; n,M . This conjecture is partially supported by Corollary 1 and Remark 12; see also <ref type="bibr">Bhattacharya (2019, Remark 3</ref> and Proposition 1). To fully resolve it, however, one needs to obtain more information on the null distribution of &#958; n,M beyond its mean and variance calculated in Theorem 2 for those M that are large. This will be an interesting topic for future research.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Simulation study</head><p>In this section we develop additional simulation results to illustrate the finite-sample performance of the developed correlation coefficients and the related tests of independence.</p><p>First, we examine the sizes and powers of the proposed tests. To this end, the following four sets of tests of independence are considered:</p><p>(T1) the proposed test T In implementing (T4), following <ref type="bibr">Deb et al. (2020)</ref> the nearest neighbours are calculated based on the ranks of [X i ] n i=1 , but not the original data, and we select the right one instead of the left if ties exist. Accordingly, as M = 1, we select the right nearest neighbour for all points except for the largest. To implement (T1) and (T4), we use simulation-based tests illustrated in &#167; 3.2 with B = 10 000. On the other hand, asymptotic tests are used to implement (T2) and (T3). Nominal levels are set to be &#945; = 0.05 for all tests.</p><p>We perform simulation studies based on the Gaussian rotation model as well as the following non-Gaussian model studied in <ref type="bibr">Chatterjee (2021, &#167; 4.3)</ref>; see also <ref type="bibr">Shen et al. (2019, &#167; 5)</ref> and <ref type="bibr">Shi et al. (2022b, &#167; 5)</ref>:</p><p>where g(t) := cos(2&#960;t), and the X i and i are independent copies of a uniform distribution over [-1, 1] and standard Gaussian, respectively. The Gaussian rotation model satisfies Assumption 1 and is used to validate the theory, while the non-Gaussian model, of a cosine period form, is used to illustrate more intriguing patterns beyond the Gaussian. Throughout, we set n &#8712; {1000, 2000, 5000}, &#961; n = &#961; 0 /n 1/2 and &#961; 0 &#8712;{ 0, 1, 2, 5}. The case &#961; 0 = 0 corresponds to the case when H 0 holds, while the remaining three give rise to powers in accordance with different dependence strengths that all shrink to zero.</p><p>Tables <ref type="table">1</ref> and <ref type="table">2</ref> illustrate the rejection frequencies for the considered tests over 1000 replicates. For the Gaussian model, we make three observations. (i) All the tests considered have empirical sizes close to 0.05, indicating that they are all size valid. (ii) The power of (T1) increases as M increases, and is close to that of (T2) and (T3) when M is large. However, the power of (T1) decreases for every fixed M , while that of (T2) and (T3) remain stable. Both observations are in line with the theoretical observations made earlier in Theorem 6. (iii) For each selected M , the power of (T1) dominates that of (T4), which echoes Remark 4. These results back up our theory and, since the considered tests, except for (T3), are all rank-based, the same conclusions automatically extend to Gaussian copulas. On the other hand, for the studied non-Gaussian model, generally speaking, the (T4) tests of <ref type="bibr">Deb et al. (2020)</ref> now have comparable empirical performance to ours, while it is no longer true that a larger M would always lead to a higher power. However, for such non-Gaussian data, the empirical results still support M &#8594;&#8734;for achieving higher powers and favour using our revision of the proposal of <ref type="bibr">Chatterjee (2021)</ref>. These results should also be compared to Remark 7 of <ref type="bibr">Shi et al. (2022b)</ref>.</p><p>Secondly, we compare the computation times for &#958; &#177; n,M with different n and M chosen as before. To this end, we consider a simple bivariate standard Gaussian model and calculate the averaged computation time for each pair of (n, M ) over 1000 replicates. All experiments are implemented on a laptop with an Apple M1 processor and a 16 GB memory. Table <ref type="table">3</ref> illustrates the computation times for the tests considered, which are compared to these of Hoeffding's D and Pearson's sample correlation coefficient. We observe that the computation time indeed increases, and is approximately linear, with regard to M .</p><p>Lastly, we examine the trajectory of &#958; n,M as the data generated from a bivariate Gaussian distribution with marginal mean 0, variance 1 and correlation &#961; = 0, 0.2, 0.4, 0.6, 0.8 and 1. To this end, Fig. <ref type="figure">2</ref> illustrates the boxplots of &#958; n,M as n changes from 1000, 2000 to 5000, and M changes from 1, 20, 100 to 200 over 1000 replicates. For comparison purposes, in Fig. <ref type="figure">2</ref> we also plot the curve of the population correlation measure &#958; as a function of &#961; &#8712;[0, 1]. We make three observations. (i) For any M considered, the averaged &#958; n,M gets closer and closer to the correlation measure as n increases, which supports Theorem 1. (ii) As &#961; = 0, the empirical variance of &#958; n,M first decreases and then increases as M increases, which supports Theorem 5(ii) and Remark 11.</p><p>On the other hand, as &#961; becomes large, the empirical variance of &#958; n,M turns to be stable and unchanged with M . (iii) A bias term exists as M is relatively large compared to n, but will shrink towards 0 for each fixed M as n increases. This is as expected in view of Theorem 1 and is a common occurrence in nonparametric statistics problems.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>c The Author(s) 2022. Published by Oxford University Press on behalf of the Biometrika Trust. All rights reserved. For permissions, please email: journals.permissions@oup.com Downloaded from https://academic.oup.com/biomet/article/110/2/283/6670792 by University of Washington user on 08 August 2023</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>Downloaded from https://academic.oup.com/biomet/article/110/2/283/6670792 by University of Washington user on 08 August 2023</p></note>
		</body>
		</text>
</TEI>
