Last data update: 2014.03.03
R: Confidence Interval for a Correlation Coefficient
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
Note
Does not compute r, you must enter it into the function
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
r2z
,
CIz
,
SEz
,
z2r
Examples
# From ch. 2 in Cohen et al (2003)
CIr (.657, 15)
Results