1

Assume I have a pair of vectors $a,b$. Upon discussing their correlation $\rho_{a,b}$ we can usually test whether $\rho_{a,b}=0$, $\rho_{a,b}>0$ or $\rho_{a,b}<0$ (as asked previously here and here). These tests can be easily conducted in R using cor.test. For Pearson's $\rho$ we even have a specified distribution of the test statistic under the null hypothesis on independence:

$$t=\rho\sqrt{\frac{n-2}{1-\rho^2}}\sim t_{n-2}$$

Now, assume I would like to test for a strong positive correlation. That is, my null hypothesis would be $H_0:\rho_{a,b}\ge 0.7$. What would be the distribution of the test statistic? Is there a way to conduct this using cor.test?

Spätzle
  • 3,870
  • 1
    Unless $n$ is very small, Fisher's Transformation is usually applied along with a Normal approximation. Your question is asked and answered at https://stats.stackexchange.com/questions/436903, but it's not terribly informative! – whuber Mar 13 '23 at 16:28

0 Answers0