Description Usage Arguments Value References See Also Examples
This function approximates the expected correlation between a continuous mixture variables M1 and another random variable Y based on the mixing proportions, component means, and component standard deviations of M1 and correlations between components of M1 and Y. The equations can be found in the Expected Cumulants and Correlations for Continuous Mixture Variables vignette. This function can be used to see what combination of correlations between components of M1 and Y gives a desired correlation between M1 and Y.
1 |
mix_pis |
a vector of mixing probabilities that sum to 1 for component distributions of M1 |
mix_mus |
a vector of means for component distributions of M1 |
mix_sigmas |
a vector of standard deviations for component distributions of M1 |
p_M1Y |
a vector of correlations between the components of M1 and Y; i.e.,
|
the expected correlation between M1 and Y
Please see references for rho_M1M2
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.