This function propagates error in the bivariate indirect range-restriction correction formula to allow for the computation of a pseudo compound attenuation factor in individual-correction meta-analysis. Traditional methods for estimating compound attenuation factors (i.e., dividing the observed correlation by the corrected correlation) do not work with the BVIRR correction because BVIRR has an additive term that makes the corrected correlation inappropriate for use in estimating the effect of the correction on the variance of the sampling distribution of correlations. The equation-implied adjustment for the BVIRR correction (i.e., the first derivative of the correction equation with respect to the observed correlation) underestimates the error of corrected correlations, so this function helps to account for that additional error.
var_error_r_bvirr(
rxyi,
var_e = NULL,
ni,
na = NA,
ux = rep(1, length(rxyi)),
ux_observed = rep(TRUE, length(rxyi)),
uy = rep(1, length(rxyi)),
uy_observed = rep(TRUE, length(rxyi)),
qx = rep(1, length(rxyi)),
qx_restricted = rep(TRUE, length(rxyi)),
qx_type = rep("alpha", length(rxyi)),
k_items_x = rep(NA, length(rxyi)),
qy = rep(1, length(rxyi)),
qy_restricted = rep(TRUE, length(rxyi)),
qy_type = rep("alpha", length(rxyi)),
k_items_y = rep(NA, length(rxyi)),
mean_rxyi = NULL,
mean_ux = NULL,
mean_uy = NULL,
mean_qxa = NULL,
mean_qya = NULL,
var_rxyi = NULL,
var_ux = NULL,
var_uy = NULL,
var_qxa = NULL,
var_qya = NULL,
cor_rxyi_ux = 0,
cor_rxyi_uy = 0,
cor_rxyi_qxa = 0,
cor_rxyi_qya = 0,
cor_ux_uy = 0,
cor_ux_qxa = 0,
cor_ux_qya = 0,
cor_uy_qxa = 0,
cor_uy_qya = 0,
cor_qxa_qya = 0,
sign_rxz = 1,
sign_ryz = 1,
r_deriv_only = FALSE
)
A vector of corrected correlations' sampling-error variances.
Vector of observed correlations.
Vector of estimated sampling variances for rxyi values.
Vector of incumbent sample sizes (necessary when variances of correlations/artifacts are not supplied).
Optional vector of applicant sample sizes (for estimating error variance of u ratios and applicant reliabilities).
Vector of observed-score u ratios for X.
Logical vector in which each entry specifies whether the corresponding ux value is an observed-score u ratio (TRUE
) or a true-score u ratio. All entries are TRUE
by default.
Vector of observed-score u ratios for Y.
Logical vector in which each entry specifies whether the corresponding uy value is an observed-score u ratio (TRUE
) or a true-score u ratio. All entries are TRUE
by default.
Vector of square roots of reliability estimates for X.
Logical vector determining whether each element of qx is derived from an incumbent reliability (TRUE
) or an applicant reliability (FALSE
).
String vector identifying the types of reliability estimates supplied (e.g., "alpha", "retest", "interrater_r", "splithalf"). See the documentation for ma_r()
for a full list of acceptable reliability types.
Numeric vector identifying the number of items in each scale.
Vector of square roots of reliability estimates for X.
Logical vector determining whether each element of qy is derived from an incumbent reliability (TRUE
) or an applicant reliability (FALSE
).
Mean observed correlation.
Mean observed-score u ratio for X (for use in estimating sampling errors in the context of a meta-analysis).
Mean observed-score u ratio for Y (for use in estimating sampling errors in the context of a meta-analysis).
Mean square-root applicant reliability estimate for X (for use in estimating sampling errors in the context of a meta-analysis).
Mean square-root applicant reliability estimate for Y (for use in estimating sampling errors in the context of a meta-analysis).
Optional pre-specified variance of correlations.
Optional pre-specified variance of observed-score u ratios for X.
Optional pre-specified variance of observed-score u ratios for Y.
Optional pre-specified variance of square-root applicant reliability estimate for X.
Optional pre-specified variance of square-root applicant reliability estimate for Y.
Correlation between rxyi and ux (zero by default).
Correlation between rxyi and uy (zero by default).
Correlation between rxyi and qxa (zero by default).
Correlation between rxyi and qya (zero by default).
Correlation between ux and uy (zero by default).
Correlation between ux and qxa (zero by default).
Correlation between ux and qya (zero by default).
Correlation between uy and qxa (zero by default).
Correlation between uy and qya (zero by default).
Correlation between qxa and qya (zero by default).
Sign of the relationship between X and the selection mechanism.
Sign of the relationship between Y and the selection mechanism.
Logical scalar determining whether to use the partial derivative with respect to rxyi only (TRUE
) or a full Taylor series approximation of the disattenuation formula (FALSE
).
Per the principles of propagation of uncertainty and assuming that q_X_aqxa, q_Y_aqya, u_Xux, u_Yuy, and _XY_irxyi, are independent, we can derive a linear approximation of the sampling error of _TP_artpa. We begin with the bivariate indirect range restriction formula,
_TP_a=_XY_iu_Xu_Y+|1-u_X^2||1-u_Y^2|q_X_aq_Y_artpa = (rxyi * ux * uy + lambda * sqrt(abs(1 - ux^2) * abs(1 - uy^2))) / (qxa * qya)
which implies the following linear approximation of the sampling variance of _TP_artpa:
SE__TP_a^2=b_1^2SE_q_X_a^2+b_2^2SE_q_Y_a^2+b_3^2SE_u_X^2+b_4^2SE_u_Y^2+b_5^2SE__XY_i^2var_rtpa ~= b1^2 * var_qxa + b2^2 * var_qya + b3^2 * var_ux + b4^2 * var_uy + b5^2 * var_rxyi
where b_1b1, b_2b2, b_3b3, b_4b4, and b_5b5 are the first-order partial derivatives of the disattenuation formula with respect to q_X_aqxa, q_Y_aqya, u_Xux, u_Yuy, and _XY_irxyi, respectively. These partial derivatives are computed as follows:
b_1=_TP_a q_X_a=-_TP_aq_X_ab1 = -rtpa / qxa b_2=_TP_a q_Y_a=-_TP_aq_Y_ab2 = -rtpa / qya b_3=_TP_a u_X=[_XY_iu_Y- u_X(1-u_X^2)|1-u_Y^2||1-u_X^2|^1.5]/(q_X_aq_Y_a)b3 = (rxyi * uy - (lambda * ux * (1 - ux^2) * sqrt(abs(1 - uy^2))) / abs(1 - ux^2)^1.5) / (qxa * qya) b_4=_TP_a u_Y=[_XY_iu_X- u_Y(1-u_Y^2)|1-u_X^2||1-u_Y^2|^1.5]/(q_X_aq_Y_a)b4 = (rxyi * ux - (lambda * uy * (1 - uy^2) * sqrt(abs(1 - ux^2))) / abs(1 - uy^2)^1.5) / (qxa * qya) b_5=_TP_a_XY_i=u_Xu_Yq_X_aq_Y_ab5 = (ux * uy) / (qxa * qya)
Dahlke, J. A., & Wiernik, B. M. (2020). Not restricted to selection research: Accounting for indirect range restriction in organizational research. Organizational Research Methods, 23(4), 717–749. tools:::Rd_expr_doi("10.1177/1094428119859398")
var_error_r_bvirr(rxyi = .3, var_e = var_error_r(r = .3, n = 100), ni = 100,
ux = .8, uy = .8,
qx = .9, qx_restricted = TRUE,
qy = .9, qy_restricted = TRUE,
sign_rxz = 1, sign_ryz = 1)
Run the code above in your browser using DataLab