OpenMx General Help

Posted on
Picture of user. mspiegel Joined: 07/31/2009

Staying informed with OpenMx

The easiest way to keep up with the latest changes to the OpenMx software is to subscribe to receive email notification of any news updates. Assuming that you are logged in, click on the "My account" link on the left-hand panel of your screen. Next click on "Subscriptions" and then "Content types". Enable the checkbox for "News" and click on "Save". Once you have followed these steps, you will start receiving an email whenever something is posted under the "Recent News" section of the website (the top left panel, underneath the Guinea Pig).
Posted on
Picture of user. Steve Joined: 07/30/2009

Welcome to the OpenMx General Help Forum

This forum is designed for general questions about how to use OpenMx. If you can't find another place where your question fits, then this is the place to be!
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. 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)

Posted on
No user picture. jkarch Joined: 03/15/2011

Product of Variables Identification

Hey,

my aim is to use product of variables to fit a random-intercept random-slope model with latent mean centering. To be precise, my model is as follows. $i$ indexes person, $t$ indexes observations within a person.

$$Y_{it} = \beta_i (X_{it}-meanX_i) + meanY_i + residualY_{ij}$$
$$X_{it} = meanX_i + residualX_{ij} $$

$$\beta_i \sim N(\mu_\beta, \sigma_\beta^2), \quad meanX_i \sim N(\mu_X, \sigma_X^2), \quad meanY_i \sim N(\mu_Y, \sigma_Y^2)$$