[R] cor.test formula

From: Monica Pisica <pisicandru_at_hotmail.com>
Date: Mon, 17 Dec 2007 14:51:35 +0000

Hi everybody,  

I am interested in seeing how the p value is calculated for a t test for a correlation coefficient. I know that cor.test delivers the correlation coefficient and the t-test, p-value and the 95 confidence interval. I am interested in how the p-value is calculated.  

Usually if i type the name of the function i get explicitly the coding of that function, but if i type  

> cor.testfunction (x, ...) UseMethod("cor.test")<environment: namespace:stats>
 

So .... How can i get the coding to find out how the p-value is calculated for this function?  

Thanks,  

Monica    



[[replacing trailing spam]]

        [[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. Received on Mon 17 Dec 2007 - 15:33:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Dec 2007 - 16:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.