Learn R Programming

psychmeta (version 0.2.4)

correct_r_meas: Correct correlations for measurement error

Description

Correct correlations for measurement error

Usage

correct_r_meas(rxy, rxx = 1, ryy = 1, n = NULL, conf_level = 0.95,
  correct_bias = FALSE)

Arguments

rxy

Vector of observed correlations.

rxx

Vector of reliability coefficients for X.

ryy

Vector of reliability coefficients for Y.

n

Optional vector of sample sizes associated with the rxy correlations.

conf_level

Confidence level to define the width of the confidence interval (default = .95).

correct_bias

Logical argument that determines whether to correct error-variance estimates for small-sample bias in correlations (TRUE) or not (FALSE). For sporadic corrections (e.g., in mixed artifact-distribution meta-analyses), this should be set to FALSE, the default).

Value

Data frame(s) of observed correlations (rxy), operational correlations corrected for measurement error in Y only (rxp), operational correlations corrected for measurement error in X only (rty), and true-score correlations (rtp).

Details

$$\rho_{TP}=\frac{\rho_{XY}}{\sqrt{\rho_{XX}\rho_{YY}}}$$

References

Schmidt, F. L., & Hunter, J. E. (2015). Methods of meta-analysis: Correcting error and bias in research findings (3rd ed.). Thousand Oaks, CA: SAGE. https://doi.org/10/b6mg. pp. 140<U+2013>141.

Examples

Run this code
# NOT RUN {
correct_r_meas(rxy = .3, rxx = .8, ryy = .8)
correct_r_meas(rxy = .3, rxx = .8, ryy = .8, n = 100)
# }

Run the code above in your browser using DataLab