OpenMx Structural Equation Modeling

Moderated bivariate ACE
I'm trying to fit a moderated bivariate ACE model such as the one seen in the attached picture.
Is there a way to do this in umx? As far as I can tell, neither umxGxE nor umxGxEbiv do exactly this. Can they be expanded to fit this particular model?
I've tried to get my head around using OpenMx rather than umx, but with little success :-) But I found this script from the Boulder materials - https://vipbg.vcu.edu/media/course/HGEN619_2015/twin2ModBivAceCon.R, am I correct that this fits the model I'm trying to fit?
Thanks!
- Read more about Moderated bivariate ACE
- 4 comments
- Log in or register to post comments

How to specify a random intercept cross-lagged panel model in OpenMx?
I am trying to specify an RI-CLPM in OpenMx. However, if I constrain the variance of the observed indicators to zero, the model implied covariance matrix is not positive definite - but these variances are supposed to be zero, as they are partialized into a time-invariant component and a time-variant component. E.g., the variance x1 <-> x1 should be split up into RIx <-> RIx and cx1 <-> cx1.
Can anyone help me correctly specify this model in OpenMx?

Maximum Likelihood for Cross-Lagged Panel Models with Fixed Effects - Allison et al. 2017
I just started recently to use OpenMx for academic reasons. I'm currently trying to reproduce the empirical example of the paper of Allison et al. 2017 in which they use a Maximum Likelihood Structural Equation Model (ML-SEM) for dynamic panel models.
The authors provide the code of the following software packages: R-lavaan, Stata, Mplus, SAS-Proc Calis. However, I'm using OpenMx in R since it seems to be more flexible for changes and adjustments than lavaan.

Residual Covariance Matrix
A colleague and I studied the factor structure of a scale using the metaSEM package. The reviewers asked us for residual covariance matrice of structural model we construct. I couldn't see a command for this in the metaSEM package. There is vcov but this command gives sampling covariance matrices. Is there a way to see residual covariance matrices?
Sincerely
- Read more about Residual Covariance Matrix
- 7 comments
- Log in or register to post comments

Non-positive definit matrices
I am applying the MASEM method to 70 articles to find the direct and indirect effects of a variable (I have only three variables, one outcome, one exposure, and one mediator). I have 67 non-positive definite matrices. I understand that excluding all those matrices is missing lots of data. What should I do in this case? I did the analysis, ignoring the positive definite assumption, and I got the results but I don´t know how reliable are the results.
I´d be grateful if you please help me to find a solution for that.
- Read more about Non-positive definit matrices
- 5 comments
- Log in or register to post comments

How to handle missing data in multilevel meta analysis & mutilevel TSSEM?
I'm working on a meta-analysis examining the mediators between attachment and intimate partner aggression. I would like to use two methods to meta-analyze the data. The methods include 1) three-level meta-analytic models (Assink & Wibbelink, 2016) and 2) three-level TSSEM (Wilson et al., 2016). Both are random-effects models.

Random factor loadings in MCFA
A less important aside: has anyone been able to successfully include a nonlinear constraint in a two level CFA or SEM with latent variables?
- Read more about Random factor loadings in MCFA
- 1 comment
- Log in or register to post comments

How to go past a model implied cov not positive definite error?
I am trying to specify the CLPM in the attached figure (It's an extension of Zyphur's 2020 general CLPM, but with PGSs). I specified both using lavaan syntax in umx and matrix algebra (first time, hope it is correct, but looks like so). It is identified, the model runs ok. But when I try to get power or the ncp statistic it fails, as the model's implied cov is not positive definite.
- What can I do to avoid this? lbounds and ubounds will help me there?
Lavaan code:

Interactions in latent variable models
- Read more about Interactions in latent variable models
- Log in or register to post comments

Comparing raw data and covariance matrix as inputs
I am comparing the models using raw data versus summary statistics as inputs. First, let us consider a simple regression model (see the attached example). The model fit should be perfect with df=0. With the raw data as inputs, the chi-square statistic is 2.103206e-11, which is quite reasonable.
When the summary statistics (covariance matrix and means) are used as the inputs, the chi-square statistic is -0.01006717, which is relatively big.
- Read more about Comparing raw data and covariance matrix as inputs
- Log in or register to post comments
Pagination
- Previous page
- Page 2
- Next page