# Distribution of the Spearman rank correlation coefficient under the assumption of non-zero correlation

There are some papers and some R packages providing exact calculations for the CDF and the inverse-CDF of the (sample) Spearman rank correlation coefficient.

My question is: How difficult would it be to calculate the exact distribution of the Spearman rank coefficient of correlation for a given setting like this (just an example):

• $$X$$ and $$Y$$ continuous with known marginal distributions (not necessarily normal).
• $$X$$ and $$Y$$ are correlated with a known (population) Pearson correlation coefficient different from zero.
• Of course, the value of the sample size $$n$$ is known, and, since both $$X$$ and $$Y$$ are considered to be continuous, the non-ties case can be assumed.

If not, I was thinking of estimating the distribution by using Monte-Carlo simulation. What do you think? Any other idea?

By the way, I know that the Spearman coefficient is a distribution-free method, meaning that its probability distribution does not depend on the concrete distribution of $$X$$ and $$Y$$ under the (null) hypothesis of independence. But I think it's clear that its distribution does depend on the concrete distribution of $$X$$ and $$Y$$ under the (alternative) hypothesis of non-zero correlation (as it happens with many distribution-free methods, anyway).

• Basically, impossible, because knowing the marginal distributions and a correlation coefficient is not sufficient to know the joint distribution, which would be necessary to do this. Even knowing it, however, would probably not help you in practice, since Spearman is a rank correlation, so you would have to convert the joint distribution of $X$ and $Y$ to a joint distribution of the ranks of a sample of size $n$, which seems to me to not be a practical thing to do for any significant $n$ and almost any distributions, esp. continuous ones. May 14 at 18:29
• @jbowman: Agreed, but there is actually a paper: jstor.org/stable/2285508?seq=1 or amstat.tandfonline.com/doi/abs/10.1080/… May 14 at 20:27
• This setting is kind of self-contradictory: to obtain a result you have to make parametric assumptions about the joint distribution, whereas one uses the Spearman correlation specifically to avoid making such assumptions.
– whuber
May 14 at 21:23
• @whuber It is common that non-null distributions of distribution-free method statistics actually depend on the underlying distribution. The paper they cited above makes it clear. May 14 at 21:26
• I cannot make any sense of that remark because it sounds circular. It's also too vague: the issue here concerns specifying the alternative hypothesis. Your question cannot be answered without a more specific and narrower definition than "non-null."
– whuber
May 14 at 21:29

It's not possible to do this exactly, as knowing the marginal distributions and a correlation coefficient is not sufficient to determine the joint distribution, which would be necessary to do this. Even knowing it, however, would probably not help you in practice, since Spearman is a rank correlation, so you would have to convert the joint distribution of $$X$$ and $$Y$$ to a joint distribution of the ranks of a sample of size $$n$$, which seems to me to not be a practical thing to do for any significant $$n$$ and almost any distributions, especially continuous ones.