ci {attenuation} | R Documentation |
Calculate a confidence interval for an attenuated correlation coefficient.
ci(r, N, level = 0.95, method = "corr", k = NULL)
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. |
Numeric in [0, 1]. The p-value under null-hypothesis rho.
r = c(0.20, sqrt(0.45), sqrt(0.55))
N = c(100, 100, 100)
ci(r, N) # Calculates 95% confidence set for rho.