CIrdif {psychometric}R Documentation

Confidence Interval for the difference in Correlation Coefficients

Description

Will construct the CI for a difference in two correlations for a desired level

Usage

CIrdif(r1, r2, n1, n2, level = 0.95)

Arguments

r1 Correlation 1
r2 Correlation 2
n1 Sample size for r1
n2 Sample size for r2
level Significance Level for constructing the CI, default is .95

Details

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)

Value

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

Author(s)

Thomas D. Fletcher tom.fletcher.mp7e@statefarm.com

References

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.

See Also

rdif.nul

Examples

# From ch. 2 in Cohen et al (2003)
CIrdif(.657, .430, 62, 143)


[Package psychometric version 2.1 Index]