I write a script in R to generate simulated data for meta-analysis for teaching purposes. Given the "population" correlation coefficient, it generates "individual studies" with various sample sizes and correlation coefficients. In order to generate these data correctly, I need to calculate the SE of the coefficient. The problem is that I found two different approaches to it. The first one uses the formula SE=sqrt ((1-r^2)/(n-2)) which results in a symmetrical confidence interval. The second is based on the Fisher's r-to-z transformation and uses the formula SE=1/sqrt(n-3). This approach results in asymmetical CIs. Which formula should I use?

More Igor Kupriyanov's questions See All
Similar questions and discussions