CIrdif | R Documentation |
Will construct the CI for a difference in two correlations for a desired level
CIrdif(r1, r2, n1, n2, level = 0.95)
r1 |
Correlation 1 |
r2 |
Correlation 2 |
n1 |
Sample size for |
n2 |
Sample size for |
level |
Significance Level for constructing the CI, default is .95 |
Constructs a confidence interval based on the standard error of the difference
of two correlations (r1 - r2)
, sed <- sqrt((1-r1^2)/n1 + (1-r2^2)/n2)
Returns a table with 4 elements
DifR |
Observed Difference in correlations |
SED |
Standard error of the difference |
LCL |
Lower Confidence Limit of the CI |
UCL |
Upper Confidence Limit of the CI |
Thomas D. Fletcher t.d.fletcher05@gmail.com
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.