Re: [R] Comparing the correlations coefficient of two (very) dependent samples

2010-05-03 Thread Mike Cheung
Dear Tal, There are several approaches in doing it (see Steiger, 2003). It should not be difficult to implement them in R. Steiger, J.H. (2003). Comparing correlations. In A. Maydeu-Olivares (Ed.) Psychometrics. A festschrift to Roderick P. McDonald. Mahwah, NJ: Lawrence Erlbaum Associates. http

[R] Comparing the correlations coefficient of two (very) dependent samples

2010-05-03 Thread Tal Galili
Hello all, I believe this can be done using bootstrap, but I am wondering if there is some other way that might be used to tackle this. #Let's say I have two pairs of samples: set.seed(100) s1 <- rnorm(100) s2 <- s1 + rnorm(100) x1 <- s1[1:99] y1 <- s2[1:99] x2 <- x1 y2 <- s2[2:100] #And both