Learn R Programming

psychmeta (version 2.6.4)

unmix_r_2group: Estimate the average within-group correlation from a mixture correlation for two groups

Description

Estimate the average within-group correlation from a mixture correlation for two groups.

Usage

unmix_r_2group(rxy, dx, dy, p = 0.5)

Value

A vector of average within-group correlations

Arguments

rxy

Overall mixture correlation.

dx

Standardized mean difference between groups on X.

dy

Standardized mean difference between groups on Y.

p

Proportion of cases in one of the two groups.

Details

The mixture correlation for two groups is estimated as:

r_xy_Mix_xy_WG+d_x^2d_y^2p^2(1-p)^2(d_x^2p(1-p)+1)(d_y^2p(1-p)+1)r_mix = (r_wg + sqrt((p - 1)^2 * p^2 * dx^2 * dy^2)) / sqrt((1 - (p - 1) * p * dx^2) * (1 - (p - 1) * p * dy^2))

where _xy_WGr_wg is the average within-group correlation, _xy_Mixr_mix is the overall mixture correlation, d_xdx is the standardized mean difference between groups on X, d_ydy is the standardized mean difference between groups on Y, and p is the proportion of cases in one of the two groups.

References

Oswald, F. L., Converse, P. D., & Putka, D. J. (2014). Generating race, gender and other subgroup data in personnel selection simulations: A pervasive issue with a simple solution. International Journal of Selection and Assessment, 22(3), 310-320.

Examples

Run this code
unmix_r_2group(rxy = .5, dx = 1, dy = 1, p = .5)

Run the code above in your browser using DataLab