[R] R correlations.

Bernardo Rangel Tura tura at centroin.com.br
Mon Jun 10 04:06:43 CEST 2002

At 16:33 06/06/2002 -0400, you wrote:

Sorry, but I think have type bug in your code....

>ci1 <- var18(1-var1)/(N1)^.5   <<<---- Caution, my confidence interval on 
 ci1 <- var1*(1-var1)/(N1)^.5


        y <- var2+(rnorm(l2)*c2)
        y <- var2+(rnorm(l2)*ci2)

Bernardo Rangel Tura, MD, MSc

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list