"David Barron" <[EMAIL PROTECTED]> writes: > Is cor.test() in the stats packages what you mean?
No, he wants to compare two correlation coefficients, not test that one is zero. That's usually a misguided question, but if need be, the Fisher z transform atanh(r) can be used to convert r to an approximately normal variate with a known variance 1/(N-3) and comparing r1 and r2 from two independent samples is straightforward. The correlated case (like cor(x,y) vs cor(x,z)) is more complicated. > On 18/09/06, Hu, Donglei <[EMAIL PROTECTED]> wrote: > > Hi, > > > > > > > > I calculated a few correlation coefficients. Now I want to know whether > > they are different from each other. Is there an R package that can do > > such a comparison? Thanks for any suggestion. > > > > > > > > Best, > > > > Donglei Hu > > > > Department of Medicine > > > > UCSF > > > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > [email protected] mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > > -- > ================================= > David Barron > Said Business School > University of Oxford > Park End Street > Oxford OX1 1HP > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- 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 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
