Learn R Programming

psychometric (version 2.2)

CIr: Confidence Interval for a Correlation Coefficient

Description

Will construct the CI for a desired level given a correlation and sample size

Usage

CIr(r, n, level = 0.95)

Arguments

r
Correlation Coefficient
n
Sample Size
level
Significance Level for constructing the CI, default is .95

Value

LCL
Lower Confidence Limit of the CI
UCL
Upper Confidence Limit of the CI

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

r2z, CIz, SEz, z2r

Examples

Run this code
# From ch. 2 in Cohen et al (2003)
CIr (.657, 15)

Run the code above in your browser using DataLab