I have two vectors, X and Y
I perform a correlation test using them
cor.test(x, y)
From this, I get a p value and a correlation value, among other things.
In a manuscript, I report my results like so:
Pearson’s r(283) = 0.943, p < 2.2e-16
I have been asked to define which statistical test is being used. It was my understanding that Pearson's correlation test was itself the test. Is this incorrect?
I have read that a student's T test can be used to calculate the p value for the hypothesis test, which I believe is testing the hypothesis that the true correlation is 0.
Does the R language use a T-test for the p value by default in cor.test()
? Or is it correct to say that Pearson's is itself the test?