Re: [R] Standard Error and P-Value from cor()

2013-04-18 Thread Pascal Oettli
Hi, ?cor.test Regards, Pascal 2013/4/19 Gundala Viswanath > Is there a native way to produce SE of correlation in R's cor() functions > and p-value from T-test? > > As explained in this web > http://www.sjsu.edu/faculty/gerstman/StatPrimer/correlation.pdf > (page 14.6) > > The standard erro

[R] Standard Error and P-Value from cor()

2013-04-18 Thread Gundala Viswanath
Is there a native way to produce SE of correlation in R's cor() functions and p-value from T-test? As explained in this web http://www.sjsu.edu/faculty/gerstman/StatPrimer/correlation.pdf (page 14.6) The standard error is sqrt((1-r^2)/(n-2)), where n- is the number of sample. - G.V. [[