OpenMx Help

Posted on
No user picture. Ilaria Joined: 07/22/2024

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:

Posted on
No user picture. Ilaria Joined: 07/22/2024

OpenMx Installation - cannot open the connection - 'failure when receiving data from the peer'

Hi OpenMx community,

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:

Posted on
No user picture. vadim Joined: 08/03/2024

problems with simple ACE model

Dear experts,

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:

Posted on
No user picture. loveyu3317 Joined: 07/25/2024

five-factor model

Hi,

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!

Posted on
No user picture. krzysiek Joined: 09/05/2013

how to compare two correlation matrices

Hi,
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
Posted on
No user picture. didenursahin Joined: 03/20/2023

Variance model graph

Hey,
Does anyone have a graph template for the bivariate variance estimate model?
Best,
Didi
Posted on
No user picture. didenursahin Joined: 03/20/2023
Posted on
No user picture. Purple Fish Joined: 05/23/2024

ACE and ADE model returns the same AIC

Hello everyone:

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!!

Posted on
No user picture. Victor Feagins Joined: 05/02/2024

How to get estimates of latent random slopes and random intercept

Hello I fit a random slope and random intercept hlm and I am wondering how to get the latent values of the random slope and intercept. From what I can tell the issue is that the latent variables exist in second level so the function mxFactorScores does not know what to do. In this example U_00 is my random intercept and U_01 is my random slope.

Here is code to simulate HLM data

library(dplyr)
library(tidyr)
library(OpenMx)