OpenMx Help

Posted on
No user picture. handeezgia Joined: 03/20/2023
Posted on
No user picture. lf-araujo Joined: 11/25/2020

Calculating expressions in model

Hi all,

I rewrote mrdoc to shorten the hundreds line model to the version below,
however in this version some paths are mixed in correlations. For example,
abraas is combining ab, ra, and as. I wanted to make it easier to the user
and provide each path separately, but I am not sure how to do this. I tried to use
mxEval, but I think it is beyond my capabilities.

Posted on
No user picture. lf-araujo Joined: 11/25/2020

Still can't print vignettes (linux)

I remember we discussed this in the past, but I can't remember what was the issue.

In a linux system calling vignettes is not listing available pages. Is this happening to other systems too?

I have here a npsol enabled version in a linux system, see code and output below.


> vignette(package="OpenMx")
no vignettes found
> tools::getVignetteInfo("OpenMx")
Package Dir Topic File Title R PDF

Posted on
No user picture. thughe01 Joined: 10/18/2009

Forum search issue

Hi there. When I try to use the simple or advanced search in the Forums with more than a single word, I get the following error:

Forbidden
You don't have permission to access /search/node/test search on this server.

Not sure what I am doing wrong? Have tried multiple browsers, clearing cache, etc.

Cheers,

Toby.

Posted on
Picture of user. pehkawn Joined: 05/24/2020

Understanding runHelper() error: MxExpectationRAM: latent exogenous variables are not supported

I've been trying to modify [this example](https://github.com/OpenMx/OpenMx/blob/master/inst/models/nightly/mplus-ex9.23.R) from OpenMx' repos for testing. For this purpose, I am trying to fit the model using WLS. However, this returns the following error message:


Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
MxExpectationRAM: latent exogenous variables are not supported (x -> sw)

Posted on
No user picture. Ling Zhu Joined: 05/01/2023

Can't install OpenMx

1. My operating system: macOS Ventura Version 13.2.1
2. R version 4.3.0 (2023-4-21): I just updated my R version. I also used the older R version to install it but failed, so I think maybe update R could work...
3. Error message:
Warning in install.packages :
unable to access index for repository https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-x86_64/contrib/4.3:
cannot open URL 'https://openmx.ssri.psu.edu/software/bin/macosx/big-sur-x86_64/contrib/4.3/PACKAGES'
Warning in install.packages :

Posted on
No user picture. Hasan Joined: 03/07/2023

Moderated bivariate ACE

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

Posted on
No user picture. lyra9826 Joined: 10/20/2021

Issues with confidence interval estimation for Cholesky Decomposition ACE model

I am estimating a Cholesky decomposition ACE model and deriving the rA, rC, and rE estimates. The confidence intervals are not estimating for many of these parameters. There appear to be varying diagnoses when I use verbose=T (i.e., active box constraint, alpha level not reached infeasible non-linear constraint). I have tried choosing a different optimizer, re-scaling the phenotypes, using mxTryHard, and changing start values. The univariate variance components as well as their correlations are significant.

Posted on
No user picture. cjvanlissa Joined: 04/10/2019

How to specify a random intercept cross-lagged panel model in OpenMx?

Dear readers,

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?

Posted on
No user picture. ppl Joined: 01/12/2023

Maximum Likelihood for Cross-Lagged Panel Models with Fixed Effects - Allison et al. 2017

Hey all,

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.