Obtain CIs on genetic correlations

Posted on
No user picture. Leo Joined: 01/09/2020
Forums
I'm interested in obtaining the CIs of the genetic correlations using umx. Running umxCi prior to umxsummary does only provide the CIs for the different paths. Can anyone help me?

Thanks in advance.

Replied on Fri, 01/17/2020 - 15:29
Picture of user. AdminNeale Joined: 03/01/2013

You will need an mxAlgebra to calculate the genetic correlations. Possibly, if your model is set up as a cholesky, you could have an equation like

genCorAlg <- mxAlgebra(cov2cor(A%*%t(A)), name="geneticCorrelation")

where matrix A contains the paths in a lower triangular pattern. You would also add the mxCI() function call to ask for confidence intervals like this

genCorCI <- mxCI(geneticCorrelation)

then add the objects genCorCI and genCorAlg to the model and re-run.