Re: [R] Spearman correlation test confidence intervals

From: Peter Dalgaard <>
Date: Wed 04 Oct 2006 - 22:35:16 GMT

Mahesh Krishnan <> writes:

> Hello,
> How does one calculate the confidence levels for a spearman correlation
> test? I noticed cor.test(x,y) gives the confidence levels only for
> pearson test.
> Thank you for the suggestions, in advance.

You can't. Not easily anyway. The distribution of the Spearman correlation is known under the null hypothesis of independence (through symmetry considerations), but not otherwise. In largish samples, I suppose that resampling techniques could be employed.

   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (                  FAX: (+45) 35327907

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Oct 05 08:38:39 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 04 Oct 2006 - 23:30:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.