Estimate the mixture correlation for two groups
mix_r_2group(rxy, dx, dy, p = 0.5)
Average within-group correlation
Standardized mean difference between groups on X.
Standardized mean difference between groups on Y.
Proportion of cases in one of the two groups.
A vector of two-group mixture correlationa
The average within-group correlation is estimated as:
where
# NOT RUN {
mix_r_2group(rxy = .375, dx = 1, dy = 1, p = .5)
# }
Run the code above in your browser using DataLab