Skip to content
Back to formatted view

Raw Message

Message-ID: <A4E5A0B016B8CB41A485FC629B633CED4694ED9F68@GOLD.corp.lgc-group.com>
Date: 2012-07-31T09:52:39Z
From: S Ellison
Subject: Significance of correlation

If you have pearson correlation coefficients r calculated from n data points elsewhere, you can use a t test on 
t.r <- r * sqrt( (n-2)/(1-r^2) )

You'll need to use pt() to get your p value from t.r, though.

S Ellison

________________________________________


I understand that to test the significance of correlation between two
PAIRED variables, the function, cor.test () can be used. However, in my
case, I have tested the correlation (i.e., Correlation Coefficient, r)
between two independent (i.e, different) variables, and now I wish to test
for the statistical significance of the correlation. Could you please
suggest how I should do that.

Thank you.

Kind regards,
Chintanu

        [[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org 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.

*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}