# cc: Confidence curves for attenuated correlation coefficients. In JonasMoss/attenuation: Correcting for Attenuation Due to Measurement Error

## Description

Confidence curves for attenuated correlation coefficients.

## Usage

 ```1 2``` ```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` is the correlation between the noisy measures X' and Y', `r` is the correlation between the noisy X' and the true X, while `r` 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"`.

## Value

An object of class `ccaf`.

## Examples

 ```1 2 3``` ``` r = c(0.20, sqrt(0.45), sqrt(0.55)) N = c(100, 100, 100) plot(cc(r, N)) ```

JonasMoss/attenuation documentation built on Nov. 12, 2019, 4:33 a.m.