cc: Confidence curves for attenuated correlation coefficients.
Description
Confidence curves for attenuated correlation coefficients.
Usage
cc(r, N, lower = -1, upper = 1, by = 0.001, method = "corr",
k = NULL)
Arguments
r
Numeric vector of three elements in [-1,1]. r[1] is the
correlation between the noisy measures X' and Y', r[2] is the
correlation between the noisy X' and the true X, while r[3] is
the correlation between the noisy Y' and the true Y.
N
Numeric vector of three positive integers. N[i] is the
sample size for r[i].
lower
Lower bound for the curve. Defaults to -1.
upper
Upper bound for the curve. Defaults to 1.
by
Increment of the sequence from lower to upper.
method
The type of confidence curve. Can be "corr",
"cronbach", "HS" or "free". See the details of
p_value.
k
Numeric vector of two positive integers. k[i] is the number
of testlets for the for r[i+1]. Only needed for method
"cronbach".