[R] Test of significance in estimation of correlation coefficients

Jonathan Baron baron at psych.upenn.edu
Tue Aug 24 11:43:41 CEST 2004


On 08/24/04 15:05, Vikas Rawal wrote:
>I estimated spearman's correlation coefficient using cor(). How do I
>test for significance?

cor.test

You could find this many ways, but one is to look at the help
document for cor.  cor.test is listed is at the bottom.  In
general, it is a good idea to look at help before posting here.

BTW, there is a small bug in the documentation for cor: cor.test
is no longer in the ctest package, but in stats.

Jon
-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
R search page: http://finzi.psych.upenn.edu/




More information about the R-help mailing list