Vikas Rawal
2004-Aug-24 09:35 UTC
[R] Test of significance in estimation of correlation coefficients
I estimated spearman's correlation coefficient using cor(). How do I test for significance? Vikas
Jonathan Baron
2004-Aug-24 09:43 UTC
[R] Test of significance in estimation of correlation coefficients
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/
Prof Brian Ripley
2004-Aug-24 09:55 UTC
[R] Test of significance in estimation of correlation coefficients
On Tue, 24 Aug 2004, Jonathan Baron wrote:> BTW, there is a small bug in the documentation for cor: cor.test > is no longer in the ctest package, but in stats.Your information is not up to date: that page has been changed in R-patched and R-devel. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595