Will construct the CI for a difference in two correlations for a desired level
CIrdif(r1, r2, n1, n2, level = 0.95)
Returns a table with 4 elements
Observed Difference in correlations
Standard error of the difference
Lower Confidence Limit of the CI
Upper Confidence Limit of the CI
Correlation 1
Correlation 2
Sample size for r1
Sample size for r2
Significance Level for constructing the CI, default is .95
Thomas D. Fletcher t.d.fletcher05@gmail.com
Constructs a confidence interval based on the standard error of the difference
of two correlations
Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2003). Applied multiple regression/correlation analysis for the behavioral sciences (3rd ed.). Mahwah, NJ: Lawrence Erlbaum.
rdif.nul
# From ch. 2 in Cohen et al (2003)
CIrdif(.657, .430, 62, 143)
Run the code above in your browser using DataLab