50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

psychometric (version 2.4)

CIrdif: 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)

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

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

Author

Thomas D. Fletcher t.d.fletcher05@gmail.com

Details

Constructs a confidence interval based on the standard error of the difference of two correlations (r1r2), sed <sqrt((1r12)/n1+(1r22)/n2)

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

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

Run the code above in your browser using DataLab