Description Usage Arguments Value
estimates the mixture proportions via convex optimzation condtional on the current estimate of the loadings matrix
1 | estimate_pi_given_lambda_rho(Y, S, U, lambda_12, lambda_21, rho)
|
Y |
matrix of betahats n x 2 |
S |
matrix of std. errors n x 2 |
U |
array prior diagonal 2 x 2 covariance matricies |
lambda_12 |
double causal effect of trait 2 –> trait 1 |
lambda_21 |
double causal effect of trait 1 –> trait 2 |
rho |
double correlation of the estimated effects |
pi_vec vector next estimate of mixture proportions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.