OpenMx Help

Problems with Constrain expected Means and Variances to be equal across Twin Order
Hi all,
I am trying to fit several bivariate [between my exposure at age 16 and my outcomes at age 21 (accounting for age and sex)] and trivariate [my exposure at age 16 and my outcomes at ages 21 and 26 (also accounting for age and sex)] ACE models. However, I’ve started by fitting univariate saturated and submodels, followed by ACE and submodels, to eventually fit my bivariate models. The saturated models run fine across all, but when I try to fit the constrained models (by twin order and zygosity), I get the following error message:

OpenMx Installation - cannot open the connection - 'failure when receiving data from the peer'
I am very new to OpenMx. I am using it to fit saturated and ACE models to my twin data. I had successfully installed OpenMx using the script for the OpenMx website: source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R')
But now when I am trying to re-run my models and use this version of openMx I receive the following error messages:

problems with simple ACE model
I am running a simple ACE model for twin analysis with age and gender as confounds (115 DZ pairs and 60 MZ pairs). I use the model from International Statistical Genetics Workshop:
[https://ibg.colorado.edu/cdrom2022/day2/00_ACEvc_contin.R](https://ibg.colorado.edu/cdrom2022/day2/00_ACEvc_contin.R "https://ibg.colorado.edu/cdrom2022/day2/00_ACEvc_contin.R")
When I run the model, I get the following results:
- Read more about problems with simple ACE model
- 4 comments
- Log in or register to post comments

five-factor model
I'm using OpenMx to run a five-factor CFA model for 14 variables. "phenfile0" is the dataset and I used its 3rd to 16th columns as a input with the colnames of "y1" to "y14".
"y12" "y13" "y14" belong to "F1"; "y9" "y10" "y11" belong to "F2"; "y6" "y7" "y8" belong to F3; "y3" "y4" "y5" belong to F4; and "y1" "y2" belong to F5.
**Issue**: the output gave a larger SE for some loadings. I'm not sure if the code is correct. Thanks for your help!
- Read more about five-factor model
- 2 comments
- Log in or register to post comments

how to compare two correlation matrices
I'm trying to compare two correlation matrices from a study of two different samples of people from different cultures. These matrices aren't symmetrical because they represent the correlations of two different sets of psychological tests. Is there a way to do this in OpenMx?
Thanks in advance for your help.
Krzysztof
- Read more about how to compare two correlation matrices
- 1 comment
- Log in or register to post comments

Fitting AE CE and E model to a bivariate model
- Read more about Fitting AE CE and E model to a bivariate model
- 1 comment
- Log in or register to post comments

Variance model graph
Does anyone have a graph template for the bivariate variance estimate model?
Best,
Didi
- Read more about Variance model graph
- 2 comments
- Log in or register to post comments

outdated-solved
- Read more about outdated-solved
- Log in or register to post comments

ACE and ADE model returns the same AIC
I'm currently working on a project with twin data, and I encountered some weird results when fitting ACE and ADE models with OpenMx.
I fit both bivariate ACE, AE, and ADE models based on the script from Dr.Hermine Maes' website. However, our model returns unusual results. Specifically, the AIC values for ACE and ADE are the same. Also, the parameter estimates for the ADE model do not match the phenotypic correlations. Has anyone encountered similar problem before? Any kind of help is appreciated!!
- Read more about ACE and ADE model returns the same AIC
- 4 comments
- Log in or register to post comments

How to get estimates of latent random slopes and random intercept
Here is code to simulate HLM data
library(dplyr)
library(tidyr)
library(OpenMx)
Pagination
- Previous page
- Page 2
- Next page