mix_r_2group {psychmeta} | R Documentation |
Estimate the mixture correlation for two groups
Description
Estimate the mixture correlation for two groups.
Usage
mix_r_2group(rxy, dx, dy, p = 0.5)
Arguments
rxy |
Average within-group 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 average within-group correlation is estimated as:
where is the average within-group correlation,
is the overall mixture correlation,
is the standardized mean difference between groups on X,
is the standardized mean difference between groups on Y, and
p is the proportion of cases in one of the two groups.
Value
A vector of two-group mixture correlations
Examples
mix_r_2group(rxy = .375, dx = 1, dy = 1, p = .5)
[Package psychmeta version 2.7.0 Index]