ci {attenuation} | R Documentation |
Calculate a confidence interval for an attenuated correlation coefficient.
Description
Calculate a confidence interval for an attenuated correlation coefficient.
Usage
ci(r, N, level = 0.95, method = "corr", k = NULL)
Arguments
r |
Numeric vector of three elements in [-1,1]. |
N |
Numeric vector of three positive integers. |
level |
Numeric in [0, 1]. Confidence level of the interval. Defaults to 0.95. |
method |
The type of confidence curve. Can be |
k |
Numeric vector of two positive integers. |
Value
Numeric in [0, 1]. The p-value under null-hypothesis rho.
Examples
r = c(0.20, sqrt(0.45), sqrt(0.55))
N = c(100, 100, 100)
ci(r, N) # Calculates 95% confidence set for rho.
[Package attenuation version 1.0.0 Index]