Re: [R] corr.test -- use a different null hypothesis

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Fri 16 Sep 2005 - 21:00:41 EST

Dr. Hans Georg Krauthaeuser <Hans-Georg.Krauthaeuser <at> E-Technik.Uni- DE> writes:

>
> I want to use corr.test to test for the correlation of two data sets
> (actually I have a lot of data set and perform pairwise testing). But I
> wanted to find sets where the correlation is less than a certain limit,
> i.e. |r_exp| < r_0. As far as I can see corr.test is designed to work
> only for the null hypothesis r_exp = 0. I would need H0 as |r_exp|>= r_0.
>

cor.test (sic!) for method="pearson" returns a confidence interval for r. You could use the upper limit of it for your test

Dieter



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Sep 21 02:09:22 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 17:11:55 EST